index 6748a005098b7874218adc0e15af4fcd3fa5a631..d1b2c67a43a94a473d45d508cb898f4d0eae6ad5 100644 (file)
--- a/src/game/g_triggers.pas
+++ b/src/game/g_triggers.pas
k: Byte;
p: TPlayer;
begin
+ Result := nil;
+
if gTriggers = nil then Exit;
case g_GetUIDType(UID) of
else k := 0;
end;
- Result := nil;
-
for a := 0 to High(gTriggers) do
if (gTriggers[a].TriggerType <> TRIGGER_NONE) and
(gTriggers[a].TimeOut = 0) and