From: Ketmar Dark Date: Fri, 18 Aug 2017 15:19:12 +0000 (+0300) Subject: g_triggers.pas: fixed "Warning: Function result variable does not seem to initialized" X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=da892f7094a22170b550af06f5ba4a5430d8ae42;p=d2df-sdl.git g_triggers.pas: fixed "Warning: Function result variable does not seem to initialized" --- diff --git a/src/game/g_triggers.pas b/src/game/g_triggers.pas index 3950718..5283e70 100644 --- a/src/game/g_triggers.pas +++ b/src/game/g_triggers.pas @@ -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