--- a/hedgewars/uGears.pas Sun Nov 14 11:10:25 2010 -0500
+++ b/hedgewars/uGears.pas Sun Nov 14 11:19:37 2010 -0500
@@ -135,18 +135,24 @@
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
+*)
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
+*)
end;
{$INCLUDE "GSHandlers.inc"}