equal
deleted
inserted
replaced
213 lx:= X + int2hwfloat(round(GetLaunchX(CurAmmoType, hwSign(dX), Angle))); |
213 lx:= X + int2hwfloat(round(GetLaunchX(CurAmmoType, hwSign(dX), Angle))); |
214 ly:= Y + int2hwfloat(round(GetLaunchY(CurAmmoType, Angle))); |
214 ly:= Y + int2hwfloat(round(GetLaunchY(CurAmmoType, Angle))); |
215 |
215 |
216 if ((Gear^.State and gstHHHJump) <> 0) and (not cArtillery) then xx:= - xx; |
216 if ((Gear^.State and gstHHHJump) <> 0) and (not cArtillery) then xx:= - xx; |
217 if Ammoz[CurAmmoType].Ammo.AttackVoice <> sndNone then |
217 if Ammoz[CurAmmoType].Ammo.AttackVoice <> sndNone then |
218 PlaySound(Ammoz[CurAmmoType].Ammo.AttackVoice, CurrentTeam^.voicepack); |
218 AddVoice(Ammoz[CurAmmoType].Ammo.AttackVoice, CurrentTeam^.voicepack); |
219 |
219 |
220 // Initiating alt attack |
220 // Initiating alt attack |
221 if (CurAmmoGear <> nil) and |
221 if (CurAmmoGear <> nil) and |
222 ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) and |
222 ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) and |
223 ((Gear^.Message and gmLJump) <> 0) and |
223 ((Gear^.Message and gmLJump) <> 0) and |