소스 검색

Update RecruitHero.cpp

Remove code that, according to Ivan shouldn't do anything but cause errors.
No noticable regressing in playing-strength was observed.
Xilmi 1 년 전
부모
커밋
ab64edf7dd
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      AI/Nullkiller/Goals/RecruitHero.cpp

+ 0 - 3
AI/Nullkiller/Goals/RecruitHero.cpp

@@ -75,9 +75,6 @@ void RecruitHero::accept(AIGateway * ai)
 		ai->nullkiller->heroManager->update();
 		ai->nullkiller->objectClusterizer->reset();
 	}
-
-	if(t->visitingHero)
-		ai->moveHeroToTile(t->visitablePos(), t->visitingHero.get());
 }
 
 }