소스 검색

Update NPC_AI.cpp

Fixes #68
Image 4 년 전
부모
커밋
4364b3e06a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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);
 			}