From 3946e7bdd41c63131a8a3958718daba27219ffb9 Mon Sep 17 00:00:00 2001 From: XoD Date: Fri, 23 Dec 2011 17:42:57 +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/Item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/d3xp/Item.cpp b/neo/d3xp/Item.cpp index 17521c6..4dc3882 100644 --- a/neo/d3xp/Item.cpp +++ b/neo/d3xp/Item.cpp @@ -294,7 +294,7 @@ void idItem::Spawn( void ) { if ( !ent ) { gameLocal.Error( "Item couldn't find owner '%s'", giveTo.c_str() ); } - PostEventMS( &EV_Touch, 0, ent, NULL ); + PostEventMS( &EV_Touch, 0, ent, 0 ); } #ifdef CTF