diff options
author | Intel <chemicstry@gmail.com> | 2014-11-05 23:33:56 +0200 |
---|---|---|
committer | Intel <chemicstry@gmail.com> | 2014-11-05 23:33:56 +0200 |
commit | e1cb43e831d017f7b0e047737d8983189d24f734 (patch) | |
tree | c5e3a625fb9b045078e19c32479d54e01b02e5ab /src/server/game/Maps/MapManager.cpp | |
parent | 78d54f9da6d2364a3d4b56901d11a44b5b57fcc5 (diff) |
Core/DataStores: Fixed build after rename
Diffstat (limited to 'src/server/game/Maps/MapManager.cpp')
-rw-r--r-- | src/server/game/Maps/MapManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Maps/MapManager.cpp b/src/server/game/Maps/MapManager.cpp index 9297e2a3d6a..ac9e5918442 100644 --- a/src/server/game/Maps/MapManager.cpp +++ b/src/server/game/Maps/MapManager.cpp @@ -135,7 +135,7 @@ bool MapManager::CanPlayerEnter(uint32 mapid, Player* player, bool loginCheck) Difficulty targetDifficulty, requestedDifficulty; targetDifficulty = requestedDifficulty = player->GetDifficulty(entry->IsRaid()); // Get the highest available difficulty if current setting is higher than the instance allows - MapDifficulty const* mapDiff = GetDownscaledMapDifficultyData(entry->MapID, targetDifficulty); + MapDifficulty const* mapDiff = GetDownscaledMapDifficultyData(entry->ID, targetDifficulty); if (!mapDiff) { player->SendTransferAborted(mapid, TRANSFER_ABORT_DIFFICULTY, requestedDifficulty); @@ -146,7 +146,7 @@ bool MapManager::CanPlayerEnter(uint32 mapid, Player* player, bool loginCheck) if (player->IsGameMaster()) return true; - char const* mapName = entry->name; + char const* mapName = entry->MapName_lang; Group* group = player->GetGroup(); if (entry->IsRaid()) |