# HG changeset patch
# User unc0rr
# Date 1242068259 0
# Node ID 1f2b91b5e7eff613f24db6502685b7341cfe8b90
# Parent 905c554d62e66507edb82e4b986790481db51e77
Don't accept 'team gone' command right after 'next turn' cmd
diff -r 905c554d62e6 -r 1f2b91b5e7ef hedgewars.kdevelop
--- a/hedgewars.kdevelop Mon May 11 18:56:55 2009 +0000
+++ b/hedgewars.kdevelop Mon May 11 18:57:39 2009 +0000
@@ -51,6 +51,7 @@
*.hs
*.pro
Find*.cmake
+ *.cfg
diff -r 905c554d62e6 -r 1f2b91b5e7ef hedgewars/uIO.pas
--- 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;