hedgewars/uCommandHandlers.pas
changeset 7194 d8e68cbca7ee
parent 7180 53ffc8853008
parent 7187 aff30d80bd7b
child 7198 5debd5fe526e
equal deleted inserted replaced
7180:53ffc8853008 7194:d8e68cbca7ee
   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