Explorar el Código

Update NPC_AI.cpp

Fixes #68
Image hace 4 años
padre
commit
4364b3e06a
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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);
 			}