From bcaa2e5966314949553a3908ae84b23f743d2161 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Fri, 27 Oct 2023 14:11:55 +0000 Subject: [PATCH] AI/VCAI/VCAI.cpp: Remove "e" from "throw" statement to rethrow the original exception. The original exception object should be rethrown --- AI/VCAI/VCAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/VCAI/VCAI.cpp b/AI/VCAI/VCAI.cpp index 8f79eaa43..3c5dd3691 100644 --- a/AI/VCAI/VCAI.cpp +++ b/AI/VCAI/VCAI.cpp @@ -1510,7 +1510,7 @@ void VCAI::wander(HeroPtr h) if(e.goal->goalType == Goals::EGoals::VISIT_TILE || e.goal->goalType == Goals::EGoals::VISIT_OBJ) continue; - throw e; + throw; } } else