hedgewars/uIO.pas
changeset 10560 9f09196d92a6
parent 10510 9329dab04490
child 10562 3388822b3914
equal deleted inserted replaced
10556:c4ca0fc00c3b 10560:9f09196d92a6
   348 begin
   348 begin
   349 tmpflag:= true;
   349 tmpflag:= true;
   350 
   350 
   351 while (headcmd <> nil)
   351 while (headcmd <> nil)
   352     and (tmpflag or (headcmd^.cmd = '#')) // '#' is the only cmd which can be sent within same tick after 'N'
   352     and (tmpflag or (headcmd^.cmd = '#')) // '#' is the only cmd which can be sent within same tick after 'N'
   353     and ((GameTicks = hiTicks shl 16 + headcmd^.loTime)
   353     and ((GameTicks = LongWord(hiTicks shl 16 + headcmd^.loTime))
   354         or (headcmd^.cmd = 's') // for these commands time is not specified
   354         or (headcmd^.cmd = 's') // for these commands time is not specified
   355         or (headcmd^.cmd = 'h') // seems the hedgewars protocol does not allow remote synced commands
   355         or (headcmd^.cmd = 'h') // seems the hedgewars protocol does not allow remote synced commands
   356         or (headcmd^.cmd = '#') // must be synced for saves to work
   356         or (headcmd^.cmd = '#') // must be synced for saves to work
   357         or (headcmd^.cmd = 'b')
   357         or (headcmd^.cmd = 'b')
   358         or (headcmd^.cmd = 'F')
   358         or (headcmd^.cmd = 'F')