From ab64edf7dda83f78006eccc327c93c659ac0c33f Mon Sep 17 00:00:00 2001 From: Xilmi Date: Thu, 12 Sep 2024 20:08:07 +0200 Subject: [PATCH] Update RecruitHero.cpp Remove code that, according to Ivan shouldn't do anything but cause errors. No noticable regressing in playing-strength was observed. --- AI/Nullkiller/Goals/RecruitHero.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/AI/Nullkiller/Goals/RecruitHero.cpp b/AI/Nullkiller/Goals/RecruitHero.cpp index 5ea60317f..810a6162c 100644 --- a/AI/Nullkiller/Goals/RecruitHero.cpp +++ b/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()); } }