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 <xoddark@gmail.com>
This commit is contained in:
XoD
2011-12-23 17:42:57 +01:00
parent 7bf3774664
commit 3946e7bdd4

View File

@@ -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