aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r--src/game/Level1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp
index 4bccd8c7ffd..8e234057f94 100644
--- a/src/game/Level1.cpp
+++ b/src/game/Level1.cpp
@@ -937,7 +937,7 @@ bool ChatHandler::HandleGonameCommand(const char* args)
}
else if(cMap->IsDungeon())
{
- Map* pMap = MapManager::Instance().GetMap(_player->GetMapId(),_player);
+ Map* pMap = _player->GetMap();
// we have to go to instance, and can go to player only if:
// 1) we are in his group (either as leader or as member)