This commit is contained in:
Charles 2001-05-10 14:09:06 +00:00
parent 429e2197f2
commit 313762dc1a
8 changed files with 105 additions and 4 deletions

View file

@ -913,7 +913,7 @@ void CNpcEnemy::collidedWith( CThing *_thisThing )
{
CNpcEnemy *enemy = (CNpcEnemy *) _thisThing;
if ( enemy->canCollideWithEnemy() )
if ( canCollideWithEnemy() && enemy->canCollideWithEnemy() )
{
processEnemyCollision( _thisThing );
}