rnd-19981013-1
[rocksndiamonds.git] / src / tools.c
index aefd540aceac4e01b33b34b0b05261a4c36ed93e..7efa122be50395c7bc392b5b28c426b8bd406400 100644 (file)
@@ -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);