hedgewars/uGears.pas
changeset 7988 4b428183d946
parent 7882 35dfc54ba2c6
child 8003 7d8bce524daf
equal deleted inserted replaced
7986:53b1da5ee7f4 7988:4b428183d946
   470         inc(hiTicks) // we do not recieve a message for this
   470         inc(hiTicks) // we do not recieve a message for this
   471     end;
   471     end;
   472 AddRandomness(CheckSum);
   472 AddRandomness(CheckSum);
   473 ScriptCall('onGameTick');
   473 ScriptCall('onGameTick');
   474 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20');
   474 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20');
       
   475 
       
   476 AddFileLog('CheckSum = ' + inttostr(CheckSum));
   475 inc(GameTicks)
   477 inc(GameTicks)
   476 end;
   478 end;
   477 
   479 
   478 //Purpose, to reset all transient attributes toggled by a utility and clean up various gears and effects at end of turn
   480 //Purpose, to reset all transient attributes toggled by a utility and clean up various gears and effects at end of turn
   479 //If any of these are set as permanent toggles in the frontend, that needs to be checked and skipped here.
   481 //If any of these are set as permanent toggles in the frontend, that needs to be checked and skipped here.