mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +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;
|
pev->nextthink = gpGlobals->time + 10.0;
|
||||||
|
|
||||||
// g-cont. Setup movewith feature
|
// g-cont. Setup movewith feature
|
||||||
pev->movetype = MOVETYPE_COMPOUND; // set movewith type
|
//pev->movetype = MOVETYPE_COMPOUND; // set movewith type
|
||||||
pev->aiment = ENT( pOther->pev ); // set parent
|
//pev->aiment = ENT( pOther->pev ); // set parent
|
||||||
}
|
}
|
||||||
|
|
||||||
if( UTIL_PointContents( pev->origin ) != CONTENTS_WATER )
|
if( UTIL_PointContents( pev->origin ) != CONTENTS_WATER )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user