Ver código fonte

Update NPC_AI.cpp

Fixes #68
Image 4 anos atrás
pai
commit
4364b3e06a
1 arquivos alterados com 1 adições e 2 exclusões
  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);
 			}