From 7bf37746644ed8a3f92a184e3b6350290a239545 Mon Sep 17 00:00:00 2001 From: XoD Date: Fri, 23 Dec 2011 17:36:45 +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/Grabber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/d3xp/Grabber.cpp b/neo/d3xp/Grabber.cpp index 4993108..04a51c2 100644 --- a/neo/d3xp/Grabber.cpp +++ b/neo/d3xp/Grabber.cpp @@ -276,7 +276,7 @@ void idGrabber::StartDrag( idEntity *grabEnt, int id ) { aiEnt->StartRagdoll(); } } else if ( grabEnt->IsType( idMoveableItem::Type ) ) { - grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, NULL ); + grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, 0 ); } // Get the current physics object to manipulate