diff --git a/code/fgame/actor.cpp b/code/fgame/actor.cpp index 3d240375..0bb67474 100644 --- a/code/fgame/actor.cpp +++ b/code/fgame/actor.cpp @@ -6418,7 +6418,7 @@ void Actor::UpdateEnemyInternal(void) m_PotentialEnemies.CheckEnemies(this); - if (m_Enemy != m_PotentialEnemies.GetCurrentEnemy() && (m_bEnemySwitch || m_Enemy)) { + if (m_Enemy != m_PotentialEnemies.GetCurrentEnemy() && (m_bEnemySwitch || !m_Enemy)) { SetEnemy(m_PotentialEnemies.GetCurrentEnemy(), false); }