aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-18 15:26:32 -0600
committermegamage <none@none>2009-03-18 15:26:32 -0600
commite440f13402ff379794616cb29c11d5dc17025511 (patch)
tree5c019c0044a6c43bfcfb36bef744cb48502b5c3a /src
parent8a21e4199b85fbc4658b11afc67e5c99587d9e0b (diff)
*Fixed possible crash and wrong data in instance state save (or not save). Author: zhenya
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/InstanceSaveMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/InstanceSaveMgr.cpp b/src/game/InstanceSaveMgr.cpp
index 21d806db921..ba34f949a5f 100644
--- a/src/game/InstanceSaveMgr.cpp
+++ b/src/game/InstanceSaveMgr.cpp
@@ -163,7 +163,7 @@ void InstanceSave::SaveToDB()
// save instance data too
std::string data;
- Map *map = MapManager::Instance().FindMap(m_instanceid, GetMapId());
+ Map *map = MapManager::Instance().FindMap(GetMapId(),m_instanceid);
if(map)
{
assert(map->IsDungeon());