hedgewars/uIO.pas
changeset 2043 1f2b91b5e7ef
parent 2017 7845c77c8d31
child 2063 c592b01061bc
--- a/hedgewars/uIO.pas	Mon May 11 18:56:55 2009 +0000
+++ b/hedgewars/uIO.pas	Mon May 11 18:57:39 2009 +0000
@@ -249,6 +249,7 @@
 tmpflag:= true;
 
 while (headcmd <> nil)
+	and tmpflag
 	and ((GameTicks = headcmd^.Time)
 		or (headcmd^.cmd = 's')
 		or (headcmd^.cmd = 'F')) do
@@ -310,6 +311,7 @@
 			true);
 
 isInLag:= (headcmd = nil) and tmpflag and not CurrentTeam^.hasGone;
+
 if isInLag then fastUntilLag:= false
 end;