diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/MapManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/MapManager.cpp b/src/game/MapManager.cpp index efc59aadbd1..8613a1a1de8 100644 --- a/src/game/MapManager.cpp +++ b/src/game/MapManager.cpp @@ -257,7 +257,7 @@ bool MapManager::CanPlayerEnter(uint32 mapid, Player* player) } //Instance is full - MapDifficulty const* mapDiff = ((InstanceMap*)player)->GetMapDifficulty(); + MapDifficulty const* mapDiff = ((InstanceMap*)boundedMap)->GetMapDifficulty(); int8 maxPlayers = mapDiff ? mapDiff->maxPlayers : 0; if (maxPlayers != -1) //-1: unlimited access { |