From 7bb62cd23de167788b4c3dc330cdf8b5baeddc8c Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 18 Nov 2017 20:12:12 +0100 Subject: Core/DataStores: Updated db2 structures to 7.3.2.25480 --- src/server/game/DungeonFinding/LFGMgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/game/DungeonFinding/LFGMgr.cpp') diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 819a2c842fd..124929b3cc2 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -48,7 +48,7 @@ requiredItemLevel(0) { } -LFGDungeonData::LFGDungeonData(LfgDungeonsEntry const* dbc) : id(dbc->ID), name(dbc->Name->Str[sWorld->GetDefaultDbcLocale()]), map(dbc->MapID), +LFGDungeonData::LFGDungeonData(LFGDungeonsEntry const* dbc) : id(dbc->ID), name(dbc->Name->Str[sWorld->GetDefaultDbcLocale()]), map(dbc->MapID), type(uint8(dbc->Type)), expansion(uint8(dbc->Expansion)), group(uint8(dbc->GroupID)), minlevel(uint8(dbc->MinLevel)), maxlevel(uint8(dbc->MaxLevel)), difficulty(Difficulty(dbc->DifficultyID)), seasonal((dbc->Flags & LFG_FLAG_SEASONAL) != 0), x(0.0f), y(0.0f), z(0.0f), o(0.0f), @@ -193,9 +193,9 @@ void LFGMgr::LoadLFGDungeons(bool reload /* = false */) LfgDungeonStore.clear(); // Initialize Dungeon map with data from dbcs - for (uint32 i = 0; i < sLfgDungeonsStore.GetNumRows(); ++i) + for (uint32 i = 0; i < sLFGDungeonsStore.GetNumRows(); ++i) { - LfgDungeonsEntry const* dungeon = sLfgDungeonsStore.LookupEntry(i); + LFGDungeonsEntry const* dungeon = sLFGDungeonsStore.LookupEntry(i); if (!dungeon) continue; -- cgit v1.2.3