DEADSOFTWARE

g_triggers.pas: fixed "Warning: Function result variable does not seem to initialized"
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Fri, 18 Aug 2017 15:19:12 +0000 (18:19 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Fri, 18 Aug 2017 18:29:18 +0000 (21:29 +0300)
src/game/g_triggers.pas

index 39507180c435439cea992c9a54d0839e9731000c..5283e7008751eee7805ac02aca4c6eff48534159 100644 (file)
@@ -926,6 +926,7 @@ end;
 
 function tr_ShotAimCheck(var Trigger: TTrigger; Obj: PObj): Boolean;
 begin
+  result := false;
   with Trigger do
   begin
     if TriggerType <> TRIGGER_SHOT then