game(hl1): fix UTIL_DropToFloor

This commit is contained in:
nillerusr
2022-08-31 18:22:56 +03:00
parent 1fe1d7b419
commit fafc3554a5
7 changed files with 53 additions and 27 deletions
-6
View File
@@ -6560,12 +6560,6 @@ float CAI_BaseNPC::ThrowLimit( const Vector &vecStart,
//-----------------------------------------------------------------------------
void CAI_BaseNPC::SetupVPhysicsHull()
{
if( GetModelPtr() == NULL )
{
UTIL_Remove( this );
return;
}
if ( GetMoveType() == MOVETYPE_VPHYSICS || GetMoveType() == MOVETYPE_NONE )
return;