File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Collide/CrateCollide
Generals/Code/GameEngine/Source/GameLogic/Object/Collide/CrateCollide Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ Bool CrateCollide::isValidToExecute( const Object *other ) const
163
163
return FALSE ;
164
164
165
165
// must match our kindof flags (if any)
166
- if (md && !other->isKindOfMulti (md->m_kindof , md->m_kindofnot ))
166
+ if ( !other->isKindOfMulti (md->m_kindof , md->m_kindofnot ) )
167
167
return FALSE ;
168
168
169
169
if ( other->isEffectivelyDead () )
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ Bool CrateCollide::isValidToExecute( const Object *other ) const
166
166
return FALSE ;
167
167
168
168
// must match our kindof flags (if any)
169
- if (md && !other->isKindOfMulti (md->m_kindof , md->m_kindofnot ))
169
+ if ( !other->isKindOfMulti (md->m_kindof , md->m_kindofnot ) )
170
170
return FALSE ;
171
171
172
172
if ( other->isEffectivelyDead () )
You can’t perform that action at this time.
0 commit comments