diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-04-25 22:03:34 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-05-20 23:49:53 +0200 |
commit | 70102f32fe38ae7d49acbd5ddee0239602d3cb94 (patch) | |
tree | 22dcecc33942c7f60e2edb5402f6f7feaf559ece /src/server/game/Maps/MapManager.cpp | |
parent | 885d9b53c38662e00e3b4977b82e9cf36d197f94 (diff) |
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
Diffstat (limited to 'src/server/game/Maps/MapManager.cpp')
-rw-r--r-- | src/server/game/Maps/MapManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Maps/MapManager.cpp b/src/server/game/Maps/MapManager.cpp index 5a31bb822b4..d85d198fe9c 100644 --- a/src/server/game/Maps/MapManager.cpp +++ b/src/server/game/Maps/MapManager.cpp @@ -140,7 +140,7 @@ Map::EnterState MapManager::PlayerCannotEnter(uint32 mapid, Player* player, bool Difficulty targetDifficulty, requestedDifficulty; targetDifficulty = requestedDifficulty = player->GetDifficultyID(entry); // Get the highest available difficulty if current setting is higher than the instance allows - MapDifficultyEntry const* mapDiff = GetDownscaledMapDifficultyData(entry->ID, targetDifficulty); + MapDifficultyEntry const* mapDiff = sDB2Manager.GetDownscaledMapDifficultyData(mapid, targetDifficulty); if (!mapDiff) return Map::CANNOT_ENTER_DIFFICULTY_UNAVAILABLE; |