X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fnetwork.c;h=a2928592b4a23fae7d379a47dbf68cf779e41e0f;hb=76510834f382bc82548e72c8e7f6f7672c9484dc;hp=fba7b48c05431289c2cbebbfbb4453e13835ea2f;hpb=838825e11f7e4af0947bf9d40061defd4e499017;p=rocksndiamonds.git diff --git a/src/network.c b/src/network.c index fba7b48c..a2928592 100644 --- a/src/network.c +++ b/src/network.c @@ -455,7 +455,7 @@ static void Handle_OP_START_PLAYING() InitRND(new_random_seed); - game_status = PLAYING; + game_status = GAME_MODE_PLAYING; InitGame(); } @@ -482,7 +482,7 @@ static void Handle_OP_STOP_PLAYING() printf("OP_STOP_PLAYING: %d\n", buffer[0]); Error(ERR_NETWORK_CLIENT, "client %d stops game", buffer[0]); - game_status = MAINMENU; + game_status = GAME_MODE_MAIN; DrawMainMenu(); }