From caae7d5ebfccc1a77b652c109de058e7608776ea Mon Sep 17 00:00:00 2001 From: qudzy <102037134+qudzy@users.noreply.github.com> Date: Mon, 4 Apr 2022 16:43:51 +0200 Subject: [PATCH] Prevent uninitialized exception loop in TravelMgr --- src/TravelMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TravelMgr.cpp b/src/TravelMgr.cpp index c06f7f68..cf24d85a 100644 --- a/src/TravelMgr.cpp +++ b/src/TravelMgr.cpp @@ -1966,7 +1966,7 @@ void TravelMgr::LoadQuestTravelTable() } else { - uint32 objective; + uint32 objective = 0; if (flag & (uint32)QuestRelationFlag::objective1) objective = 0; else if (flag & (uint32)QuestRelationFlag::objective2)