equal
deleted
inserted
replaced
92 with CurrentHedgehog^.Gear^, |
92 with CurrentHedgehog^.Gear^, |
93 CurrentHedgehog^ do |
93 CurrentHedgehog^ do |
94 begin |
94 begin |
95 Inc(AttacksNum); |
95 Inc(AttacksNum); |
96 State:= State and not gstAttacking; |
96 State:= State and not gstAttacking; |
97 if Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum then isInMultiShoot:= true |
97 if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum) or |
|
98 ((GameFlags and gfMultiWeapon) <> 0) then isInMultiShoot:= true |
98 else begin |
99 else begin |
99 TurnTimeLeft:= Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType].TimeAfterTurn; |
100 TurnTimeLeft:= Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType].TimeAfterTurn; |
100 State:= State or gstAttacked; |
101 State:= State or gstAttacked; |
101 OnUsedAmmo(CurrentHedgehog^) |
102 OnUsedAmmo(CurrentHedgehog^) |
102 end; |
103 end; |