equal
deleted
inserted
replaced
235 if ((Ammo^[CurSlot, CurAmmo].Propz) and ammoprop_Utility) = 0 then |
235 if ((Ammo^[CurSlot, CurAmmo].Propz) and ammoprop_Utility) = 0 then |
236 begin |
236 begin |
237 Inc(AttacksNum); |
237 Inc(AttacksNum); |
238 if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum) or |
238 if (Ammo^[CurSlot, CurAmmo].NumPerTurn >= AttacksNum) or |
239 ((GameFlags and gfMultiWeapon) <> 0) then |
239 ((GameFlags and gfMultiWeapon) <> 0) then |
|
240 begin |
|
241 AddCaption(inttostr(Ammo^[CurSlot, CurAmmo].NumPerTurn+1-AttacksNum)+' '+trmsg[sidRemaining], $FFFFFF, capgrpAmmostate); |
240 isInMultiShoot:= true |
242 isInMultiShoot:= true |
|
243 end |
241 else |
244 else |
242 begin |
245 begin |
243 TurnTimeLeft:= Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType].TimeAfterTurn; |
246 TurnTimeLeft:= Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType].TimeAfterTurn; |
244 State:= State or gstAttacked; |
247 State:= State or gstAttacked; |
245 OnUsedAmmo(CurrentHedgehog^); |
248 OnUsedAmmo(CurrentHedgehog^); |