game(hl1): fix apache,can bbox, fix DROP_TO_FLOOR, fix barnacle

This commit is contained in:
nillerusr
2022-08-21 02:56:36 +03:00
parent 3b153bc9c3
commit faca1ab142
4 changed files with 17 additions and 5 deletions
+3 -1
View File
@@ -188,7 +188,9 @@ void CNPC_Apache::Spawn( void )
m_iRockets = 10;
UTIL_SetSize( this, Vector( -32, -32, -32 ), Vector( 32, 32, 32 ) );
Vector mins, maxs;
ExtractBbox(0, mins, maxs);
UTIL_SetSize(this, mins, maxs);
//CollisionProp()->SetSurroundingBoundsType( USE_SPECIFIED_BOUNDS, &s_vecSurroundingMins, &s_vecSurroundingMaxs );
//AddSolidFlags( FSOLID_CUSTOMRAYTEST | FSOLID_CUSTOMBOXTEST );