Don't allow pause when playing online
authorunc0rr
Sat, 24 Jan 2009 12:43:57 +0000
changeset 1743 ebc54f5fe4e7
parent 1742 cf97d1eecb12
child 1744 19a0016af2a2
Don't allow pause when playing online
hedgewars/CCHandlers.inc
--- a/hedgewars/CCHandlers.inc	Sat Jan 24 12:40:30 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Sat Jan 24 12:43:57 2009 +0000
@@ -543,7 +543,8 @@
 
 procedure chPause(var s: shortstring);
 begin
-isPaused:= not isPaused;
+if gameType <> gmtNet then
+	isPaused:= not isPaused;
 SDL_ShowCursor(ord(isPaused))
 end;