From d049abe6447658acd750ca9a4ff427e10a86f772 Mon Sep 17 00:00:00 2001 From: DjWarmonger Date: Wed, 26 Feb 2014 17:29:21 +0000 Subject: [PATCH] Fixed typo #1732. --- AI/VCAI/AIUtility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/VCAI/AIUtility.cpp b/AI/VCAI/AIUtility.cpp index 296173bc2..a72396fa5 100644 --- a/AI/VCAI/AIUtility.cpp +++ b/AI/VCAI/AIUtility.cpp @@ -334,7 +334,7 @@ int3 whereToExplore(HeroPtr h) //look for nearby objs -> visit them if they're close enouh const int DIST_LIMIT = 3; std::vector nearbyVisitableObjs; - for (int x = hpos.x - DIST_LIMIT; x <= hpos.y + DIST_LIMIT; ++x) //get only local objects instead of all possible objects on the map + for (int x = hpos.x - DIST_LIMIT; x <= hpos.x + DIST_LIMIT; ++x) //get only local objects instead of all possible objects on the map { for (int y = hpos.y - DIST_LIMIT; y <= hpos.y + DIST_LIMIT; ++y) {