mirror of
https://github.com/halpz/re3.git
synced 2025-07-15 05:38:15 +00:00
Sanitizer fixes 2
This commit is contained in:
@ -2266,7 +2266,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();
|
||||
|
Reference in New Issue
Block a user