hedgewars/uGame.pas
changeset 602 f7628ebfccde
parent 519 981df6f6e2a9
child 626 a30171dbcd19
equal deleted inserted replaced
601:78a68cc4d846 602:f7628ebfccde
    50 i:= 1;
    50 i:= 1;
    51 while (GameState <> gsExit) and (i <= Lag) do
    51 while (GameState <> gsExit) and (i <= Lag) do
    52     begin
    52     begin
    53     if not CurrentTeam^.ExtDriven then
    53     if not CurrentTeam^.ExtDriven then
    54        begin
    54        begin
    55        with CurrentTeam^ do
    55        if CurrentHedgehog^.BotLevel <> 0 then ProcessBot;
    56            if Hedgehogs[CurrHedgehog].BotLevel <> 0 then ProcessBot;
       
    57        ProcessGears
    56        ProcessGears
    58        end else
    57        end else
    59        begin
    58        begin
    60        NetGetNextCmd;
    59        NetGetNextCmd;
    61        if isInLag then
    60        if isInLag then