فهرست منبع

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);
 			}