X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=7efa122be50395c7bc392b5b28c426b8bd406400;hp=aefd540aceac4e01b33b34b0b05261a4c36ed93e;hb=59c2e609872b70cb4c458004cd9e2fe22c86a54b;hpb=b454c38f3381978b6813eb06c736adaa38c55b89 diff --git a/src/tools.c b/src/tools.c index aefd540a..7efa122b 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1309,7 +1309,7 @@ BOOL Request(char *text, unsigned int req_state) unsigned int old_door_state; /* pause network game while waiting for request to answer */ - if (!standalone && game_status == PLAYING && req_state & REQUEST_WAIT_FOR) + if (network && game_status == PLAYING && req_state & REQUEST_WAIT_FOR) SendToServer_PausePlaying(); old_door_state = GetDoorState(); @@ -1535,7 +1535,7 @@ BOOL Request(char *text, unsigned int req_state) } /* continue network game after request */ - if (!standalone && game_status == PLAYING && req_state & REQUEST_WAIT_FOR) + if (network && game_status == PLAYING && req_state & REQUEST_WAIT_FOR) SendToServer_ContinuePlaying(); return(result);