equal
deleted
inserted
replaced
52 Gear^.Message:= Gear^.Message and not gmSlot; |
52 Gear^.Message:= Gear^.Message and not gmSlot; |
53 ammoidx:= 0; |
53 ammoidx:= 0; |
54 while (ammoidx < cMaxSlotAmmoIndex) and (Ammo^[slot, ammoidx].AmmoType <> CurAmmoType) do inc(ammoidx); |
54 while (ammoidx < cMaxSlotAmmoIndex) and (Ammo^[slot, ammoidx].AmmoType <> CurAmmoType) do inc(ammoidx); |
55 |
55 |
56 if ((Gear^.State and (gstAttacking or gstAttacked)) <> 0) or |
56 if ((Gear^.State and (gstAttacking or gstAttacked)) <> 0) or |
57 ((MultiShootAttacks > 0) and (CurAmmoGear <> nil) and ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0)) or |
57 ((MultiShootAttacks > 0) and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0)) or |
58 ((Gear^.State and gstHHDriven) = 0) then exit; |
58 ((Gear^.State and gstHHDriven) = 0) then exit; |
59 |
59 |
60 if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0) and (MultiShootAttacks > 0) then OnUsedAmmo(PHedgehog(Gear^.Hedgehog)^); |
60 if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0) and (MultiShootAttacks > 0) then OnUsedAmmo(PHedgehog(Gear^.Hedgehog)^); |
61 |
61 |
62 MultiShootAttacks:= 0; |
62 MultiShootAttacks:= 0; |