mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-20 00:49:30 +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:
@@ -2489,7 +2489,7 @@ void idAI::Event_ThrowMoveable( void ) {
|
|||||||
}
|
}
|
||||||
if ( moveable ) {
|
if ( moveable ) {
|
||||||
moveable->Unbind();
|
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 ) {
|
if ( af ) {
|
||||||
af->Unbind();
|
af->Unbind();
|
||||||
af->PostEventMS( &EV_SetOwner, 200, NULL );
|
af->PostEventMS( &EV_SetOwner, 200, 0 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user