hedgewars/uIO.pas
changeset 16048 eb015d6b4a2a
parent 15156 7a8cc8bc963e
equal deleted inserted replaced
16047:692903667ece 16048:eb015d6b4a2a
   468                 OutError('Unexpected protocol command: ' + headcmd^.cmd, True)
   468                 OutError('Unexpected protocol command: ' + headcmd^.cmd, True)
   469         end;
   469         end;
   470     RemoveCmd
   470     RemoveCmd
   471     end;
   471     end;
   472 
   472 
   473 if (headcmd <> nil) and tmpflag and (not CurrentTeam^.hasGone) then
   473 if (headcmd <> nil) and tmpflag and (not CurrentTeam^.hasGone) and (GameTicks < LongWord(hiTicks shl 16) + headcmd^.loTime) then
   474     checkFails(GameTicks < LongWord(hiTicks shl 16) + headcmd^.loTime,
   474     checkFails(true,
   475             'oops, queue error. in buffer: ' + headcmd^.cmd +
   475             'oops, queue error. in buffer: ' + headcmd^.cmd +
   476             ' (' + IntToStr(GameTicks) + ' > ' +
   476             ' (' + IntToStr(GameTicks) + ' > ' +
   477             IntToStr(hiTicks shl 16 + headcmd^.loTime) + ')',
   477             IntToStr(hiTicks shl 16 + headcmd^.loTime) + ')',
   478             true);
   478             true);
   479 
   479