Kaynağa Gözat

Update NPC_AI.cpp

Fixes #68
Image 4 yıl önce
ebeveyn
işleme
4364b3e06a
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      EQ2/source/WorldServer/NPC_AI.cpp

+ 1 - 2
EQ2/source/WorldServer/NPC_AI.cpp

@@ -71,8 +71,7 @@ void Brain::Think() {
 
 			// If the NPC is not in combat then put them in combat
 			if (!m_body->EngagedInCombat()) {
-				//m_body->ClearRunningLocations();
-				m_body->CalculateRunningLocation(true);
+				m_body->ClearRunningLocations();
 				m_body->InCombat(true);
 			}