From 0efd7ea47c9df386946086ec7e85d2d153723f8c Mon Sep 17 00:00:00 2001 From: Mircea TheHonestCTO Date: Mon, 1 Sep 2025 05:02:34 +0200 Subject: [PATCH] CBattleInfoCallback.cpp comment: point to fix #6016 for the graceful error log --- lib/battle/CBattleInfoCallback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/battle/CBattleInfoCallback.cpp b/lib/battle/CBattleInfoCallback.cpp index 2b66412c9..a5fad8a1d 100644 --- a/lib/battle/CBattleInfoCallback.cpp +++ b/lib/battle/CBattleInfoCallback.cpp @@ -1409,7 +1409,7 @@ AttackableTiles CBattleInfoCallback::getPotentiallyAttackableHexes( if (!vstd::contains(defender->getSurroundingHexes(defenderPos), attackOriginHex)) { - // TODO: GrafDeVan/Mircea/Ivan/Dydzio added this quick fix, but the core issue should be fixed + // Fixed in #6016 but left as a graceful error log instead of a runtime exception that crashes logGlobal->error( "Attempt to attack from invalid position! defenderPos (%d, %d) attackOriginHex (%d, %d)", defenderPos.getX(),