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
+5
View File
@@ -1434,7 +1434,12 @@ void CItemSoda::CanThink ( void )
SetSolid( SOLID_BBOX );
AddSolidFlags( FSOLID_TRIGGER );
#ifdef HL1_DLL
UTIL_SetSize(this, Vector(-16, -16, 0), Vector(16, 16, 16));
#else
UTIL_SetSize ( this, Vector ( -8, -8, 0 ), Vector ( 8, 8, 8 ) );
#endif
SetThink ( NULL );
SetTouch ( &CItemSoda::CanTouch );