hedgewars/uCommandHandlers.pas
changeset 7187 aff30d80bd7b
parent 7151 ec15d9e1a7e3
child 7194 d8e68cbca7ee
child 7201 dc17ffdf0702
child 7218 9ecd5bc9810b
equal deleted inserted replaced
7185:92a045156255 7187:aff30d80bd7b
   434         SDLNet_Write32(checksum, @s[2]);
   434         SDLNet_Write32(checksum, @s[2]);
   435         SendIPC(s)
   435         SendIPC(s)
   436         end
   436         end
   437     else
   437     else
   438         TryDo(checksum = lastTurnChecksum, 'Desync detected', true);
   438         TryDo(checksum = lastTurnChecksum, 'Desync detected', true);
   439     AddFileLog('Doing SwitchHedgehog: time '+inttostr(GameTicks));
   439     AddFileLog('Next turn: time '+inttostr(GameTicks));
   440 end;
   440 end;
   441 
   441 
   442 procedure chTimer(var s: shortstring);
   442 procedure chTimer(var s: shortstring);
   443 begin
   443 begin
   444 if (s[0] <> #1) or (s[1] < '1') or (s[1] > '5') or CheckNoTeamOrHH then
   444 if (s[0] <> #1) or (s[1] < '1') or (s[1] > '5') or CheckNoTeamOrHH then