hedgewars/uGears.pas
changeset 5296 0bb518ad2da8
parent 5284 34abd278344e
child 5313 5e18eaef65d0
equal deleted inserted replaced
5294:67278f1cba2c 5296:0bb518ad2da8
   900             end;
   900             end;
   901     end
   901     end
   902 else if ((GameFlags and gfInfAttack) <> 0) then
   902 else if ((GameFlags and gfInfAttack) <> 0) then
   903     begin
   903     begin
   904     if delay2 = 0 then
   904     if delay2 = 0 then
   905         delay2:= cInactDelay * 4
   905         delay2:= cInactDelay * 50
   906     else
   906     else
   907         begin
   907         begin
   908         dec(delay2);
   908         dec(delay2);
   909 
   909 
   910         if ((delay2 mod cInactDelay) = 0) and (CurrentHedgehog <> nil) and (CurrentHedgehog^.Gear <> nil) then 
   910         if ((delay2 mod cInactDelay) = 0) and (CurrentHedgehog <> nil) and (CurrentHedgehog^.Gear <> nil) then