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:36:45 +01:00
parent 6ce9c717c3
commit 7bf3774664

View File

@@ -276,7 +276,7 @@ void idGrabber::StartDrag( idEntity *grabEnt, int id ) {
aiEnt->StartRagdoll(); aiEnt->StartRagdoll();
} }
} else if ( grabEnt->IsType( idMoveableItem::Type ) ) { } else if ( grabEnt->IsType( idMoveableItem::Type ) ) {
grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, NULL ); grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, 0 );
} }
// Get the current physics object to manipulate // Get the current physics object to manipulate