mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Remove usage of MOVETYPE_COMPOUND to prevent crash
This commit is contained in:
parent
8d6f8c1a73
commit
b7990e270d
@ -168,8 +168,8 @@ void CCrossbowBolt::BoltTouch( CBaseEntity *pOther )
|
||||
pev->nextthink = gpGlobals->time + 10.0;
|
||||
|
||||
// g-cont. Setup movewith feature
|
||||
pev->movetype = MOVETYPE_COMPOUND; // set movewith type
|
||||
pev->aiment = ENT( pOther->pev ); // set parent
|
||||
//pev->movetype = MOVETYPE_COMPOUND; // set movewith type
|
||||
//pev->aiment = ENT( pOther->pev ); // set parent
|
||||
}
|
||||
|
||||
if( UTIL_PointContents( pev->origin ) != CONTENTS_WATER )
|
||||
|
Loading…
Reference in New Issue
Block a user