Explorar o código

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 hai 1 ano
pai
achega
ab64edf7dd
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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());
 }
 
 }