Remove usage of MOVETYPE_COMPOUND to prevent crash

This commit is contained in:
Roman Chistokhodov 2017-01-03 00:49:22 +03:00
parent 8d6f8c1a73
commit b7990e270d

View File

@ -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 )