Prevent uninitialized exception loop in TravelMgr

This commit is contained in:
qudzy
2022-04-04 16:43:51 +02:00
parent 02478ab6c8
commit caae7d5ebf

View File

@@ -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)