This commit is contained in:
Nikolay Korolev 2021-08-08 15:34:02 +03:00
commit 88b4c7b50b
28 changed files with 58 additions and 29 deletions

View file

@ -3163,7 +3163,11 @@ CWeapon::HitsGround(CEntity *holder, CVector *fireSource, CEntity *aimingTo)
void
CWeapon::BlowUpExplosiveThings(CEntity *thing)
{
#ifdef FIX_BUGS
if ( thing && thing->IsObject() )
#else
if ( thing )
#endif
{
CObject *object = (CObject*)thing;
int32 mi = object->GetModelIndex();