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:45:56 +01:00
parent b8aaa60311
commit 0b48f6f24a

View File

@@ -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 );
}
}