This commit is contained in:
parent
429e2197f2
commit
313762dc1a
8 changed files with 105 additions and 4 deletions
|
@ -913,7 +913,7 @@ void CNpcEnemy::collidedWith( CThing *_thisThing )
|
|||
{
|
||||
CNpcEnemy *enemy = (CNpcEnemy *) _thisThing;
|
||||
|
||||
if ( enemy->canCollideWithEnemy() )
|
||||
if ( canCollideWithEnemy() && enemy->canCollideWithEnemy() )
|
||||
{
|
||||
processEnemyCollision( _thisThing );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue