From b8aaa603112cbb002289cd5324840b48c292a722 Mon Sep 17 00:00:00 2001 From: XoD Date: Fri, 23 Dec 2011 17:43:50 +0100 Subject: [PATCH] Fix A PostEventMsg call with a parameter NULL. idEventArg don't have constructor with a pointer, a int should avoid warning. Signed-off-by: XoD --- neo/d3xp/Trigger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/d3xp/Trigger.cpp b/neo/d3xp/Trigger.cpp index 7401a88..d0760d1 100644 --- a/neo/d3xp/Trigger.cpp +++ b/neo/d3xp/Trigger.cpp @@ -1303,10 +1303,10 @@ void idTrigger_Flag::Event_Touch( idEntity *other, trace_t *trace ) { flag->PostEventMS( eventFlag, 0 ); break; case 1 : - flag->PostEventMS( eventFlag, 0, NULL ); + flag->PostEventMS( eventFlag, 0, 0 ); break; case 2 : - flag->PostEventMS( eventFlag, 0, NULL, NULL ); + flag->PostEventMS( eventFlag, 0, 0, 0 ); break; }