DEADSOFTWARE

fixed something about TRIGGER_SCRIPT
authorFGSFDSFGS <derp.primus@gmail.com>
Tue, 28 Jun 2016 18:42:58 +0000 (21:42 +0300)
committerFGSFDSFGS <derp.primus@gmail.com>
Tue, 28 Jun 2016 18:49:16 +0000 (21:49 +0300)
src/game/g_triggers.pas

index 162861306ae12742371fae18fcc1e59e3dad27f4..6498b13e315c3a608f1bbfd4bebf7c929728b3a7 100644 (file)
@@ -1948,7 +1948,7 @@ begin
 
       TRIGGER_SCRIPT:
         begin
-          g_Scripts_ProcExec(Data.SCRProc, [ID, ActivateUID, Data.SCRArg], 'map');
+          g_Scripts_ProcExec(Data.SCRProc, [ID, ActivateUID, actType, Data.SCRArg], 'map');
           TimeOut := 1;
           Result := True;
         end;