hedgewars/uUtils.pas
changeset 12621 d972b31f8881
parent 12317 b81a1d1497c4
child 12735 83d62800d215
--- a/hedgewars/uUtils.pas	Sat Sep 30 20:31:07 2017 +0200
+++ b/hedgewars/uUtils.pas	Sat Sep 30 21:54:47 2017 +0200
@@ -536,6 +536,7 @@
 
 function GetLaunchX(at: TAmmoType; dir: LongInt; angle: LongInt): LongInt;
 begin
+at:= at; dir:= dir; angle:= angle; // parameter hint suppression because code below is currently disabled
 GetLaunchX:= 0
 (*
     if (Ammoz[at].ejectX <> 0) or (Ammoz[at].ejectY <> 0) then
@@ -546,6 +547,7 @@
 
 function GetLaunchY(at: TAmmoType; angle: LongInt): LongInt;
 begin
+at:= at; angle:= angle; // parameter hint suppression because code below is currently disabled
 GetLaunchY:= 0
 (*
     if (Ammoz[at].ejectX <> 0) or (Ammoz[at].ejectY <> 0) then