--- a/hedgewars/uUtils.pas Mon Apr 24 09:59:10 2017 -0400
+++ b/hedgewars/uUtils.pas Mon Apr 24 19:21:43 2017 +0200
@@ -536,18 +536,22 @@
function GetLaunchX(at: TAmmoType; dir: LongInt; angle: LongInt): LongInt;
begin
+GetLaunchX:= 0
+(*
if (Ammoz[at].ejectX <> 0) or (Ammoz[at].ejectY <> 0) then
GetLaunchX:= sign(dir) * (8 + hwRound(AngleSin(angle) * Ammoz[at].ejectX) + hwRound(AngleCos(angle) * Ammoz[at].ejectY))
else
- GetLaunchX:= 0
+ GetLaunchX:= 0 *)
end;
function GetLaunchY(at: TAmmoType; angle: LongInt): LongInt;
begin
+GetLaunchY:= 0
+(*
if (Ammoz[at].ejectX <> 0) or (Ammoz[at].ejectY <> 0) then
GetLaunchY:= hwRound(AngleSin(angle) * Ammoz[at].ejectY) - hwRound(AngleCos(angle) * Ammoz[at].ejectX) - 2
else
- GetLaunchY:= 0
+ GetLaunchY:= 0*)
end;
function CheckNoTeamOrHH: boolean;