Fix potential queue error in rare cases
authorunc0rr
Wed, 07 May 2008 14:41:34 +0000
changeset 908 9b79dd99cde1
parent 907 a5b0b93a39c8
child 909 122c1b57bbf3
Fix potential queue error in rare cases
hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Tue May 06 15:13:02 2008 +0000
+++ b/hedgewars/uIO.pas	Wed May 07 14:41:34 2008 +0000
@@ -230,6 +230,7 @@
 tmpflag:= true;
 while (headcmd <> nil) and (GameTicks = headcmd^.Time) do
    begin
+   tmpflag:= true;
    case headcmd^.cmd of
         'L': ParseCommand('+left', true);
         'l': ParseCommand('-left', true);