hedgewars/uIO.pas
changeset 2578 ec8e69b23097
parent 2574 2f3e5c57359c
child 2599 c7153d2348f3
equal deleted inserted replaced
2577:275c1b068f68 2578:ec8e69b23097
   264 tmpflag:= true;
   264 tmpflag:= true;
   265 
   265 
   266 while (headcmd <> nil)
   266 while (headcmd <> nil)
   267 	and (tmpflag or (headcmd^.cmd = '#')) // '#' is the only cmd which can be sent within same tick after 'N'
   267 	and (tmpflag or (headcmd^.cmd = '#')) // '#' is the only cmd which can be sent within same tick after 'N'
   268 	and ((GameTicks = hiTicks shl 16 + headcmd^.loTime)
   268 	and ((GameTicks = hiTicks shl 16 + headcmd^.loTime)
   269 		or (headcmd^.cmd = 's') // for these commands time isn't specified
   269 		or (headcmd^.cmd = 's') // for these commands time is not specified
   270 		or (headcmd^.cmd = '#')
   270 		or (headcmd^.cmd = '#')
   271  		or (headcmd^.cmd = 'b')
   271  		or (headcmd^.cmd = 'b')
   272 		or (headcmd^.cmd = 'F')) do
   272 		or (headcmd^.cmd = 'F')) do
   273 	begin
   273 	begin
   274 	case headcmd^.cmd of
   274 	case headcmd^.cmd of