mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-19 16:39:24 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user