hedgewars/GSHandlers.inc
changeset 5298 abee9fb11b33
parent 5279 66969e7494c5
child 5313 5e18eaef65d0
equal deleted inserted replaced
5296:0bb518ad2da8 5298:abee9fb11b33
  4809 
  4809 
  4810 ////////////////////////////////////////////////////////////////////////////////
  4810 ////////////////////////////////////////////////////////////////////////////////
  4811 procedure doStepStructure(Gear: PGear);
  4811 procedure doStepStructure(Gear: PGear);
  4812 var 
  4812 var 
  4813     x, y: LongInt;
  4813     x, y: LongInt;
  4814     hog: PHedgehog;
       
  4815 begin
  4814 begin
  4816     if CurAmmoGear = Gear then
  4815     if CurAmmoGear = Gear then
  4817         begin
  4816         begin
  4818         if (CurrentHedgehog = nil) or (CurrentHedgehog^.Gear = nil) then 
  4817         if (CurrentHedgehog = nil) or (CurrentHedgehog^.Gear = nil) then 
  4819             begin
  4818             begin