From cfd24129d3a3b29516ce7160f136c74bf2f44185 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 18 Aug 2009 17:44:17 -0500 Subject: *Fix a crash by looting player's corpse when the bg is unloaded. --HG-- branch : trunk --- src/game/Map.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/Map.cpp') diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 132a61a4f8d..65e45ba62b8 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1107,6 +1107,7 @@ void Map::RemoveAllPlayers() { if(HavePlayers()) { + // this is happening for bg sLog.outError("Map::UnloadAll: there are still players in the instance at unload, should not happen!"); for(MapRefManager::iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr) -- cgit v1.2.3