From 0b48f6f24a9e8e630c6978dff13842958c689339 Mon Sep 17 00:00:00 2001 From: XoD Date: Fri, 23 Dec 2011 17:45:56 +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/ai/AI_events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/d3xp/ai/AI_events.cpp b/neo/d3xp/ai/AI_events.cpp index 394561a..392d2b8 100644 --- a/neo/d3xp/ai/AI_events.cpp +++ b/neo/d3xp/ai/AI_events.cpp @@ -2489,7 +2489,7 @@ void idAI::Event_ThrowMoveable( void ) { } if ( moveable ) { moveable->Unbind(); - moveable->PostEventMS( &EV_SetOwner, 200, NULL ); + moveable->PostEventMS( &EV_SetOwner, 200, 0 ); } } @@ -2510,7 +2510,7 @@ void idAI::Event_ThrowAF( void ) { } if ( af ) { af->Unbind(); - af->PostEventMS( &EV_SetOwner, 200, NULL ); + af->PostEventMS( &EV_SetOwner, 200, 0 ); } }