Browse Source

Remove usage of MOVETYPE_COMPOUND to prevent crash

clcampaign
Roman Chistokhodov 8 years ago
parent
commit
b7990e270d
  1. 4
      dlls/crossbow.cpp

4
dlls/crossbow.cpp

@ -168,8 +168,8 @@ void CCrossbowBolt::BoltTouch( CBaseEntity *pOther ) @@ -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…
Cancel
Save