Oops, fix last patch
authorunc0rr
Thu, 08 Jan 2009 18:32:00 +0000
changeset 1611 fe6dd0bd1886
parent 1610 d52f62c9fc09
child 1612 111951f3512a
Oops, fix last patch
hedgewars/uGame.pas
--- a/hedgewars/uGame.pas	Thu Jan 08 18:01:30 2009 +0000
+++ b/hedgewars/uGame.pas	Thu Jan 08 18:32:00 2009 +0000
@@ -35,13 +35,12 @@
 var i: LongInt;
 begin
 if isPaused then exit;
-if (not CurrentTeam^.ExtDriven)
-	and not ((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet))) then
+if (not CurrentTeam^.ExtDriven) then
    begin
    NetGetNextCmd; // its for the case of receiving "/say" message
    isInLag:= false;
    inc(SendEmptyPacketTicks, Lag);
-   if SendEmptyPacketTicks >= cSendEmptyPacketTime then
+   if (SendEmptyPacketTicks >= cSendEmptyPacketTime) and not ((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet))) then
       begin
       SendIPC('+');
       SendEmptyPacketTicks:= 0