Browse Source

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 year ago
parent
commit
ab64edf7dd
1 changed files with 0 additions and 3 deletions
  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->heroManager->update();
 		ai->nullkiller->objectClusterizer->reset();
 		ai->nullkiller->objectClusterizer->reset();
 	}
 	}
-
-	if(t->visitingHero)
-		ai->moveHeroToTile(t->visitablePos(), t->visitingHero.get());
 }
 }
 
 
 }
 }