[7486] Fixed possible crash and wrong data in instance state save (or not save).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zhenya 2009-03-18 15:40:22 +03:00 committed by VladimirMangos
parent 3c819a6269
commit b3490d3b74
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,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());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7485"
#define REVISION_NR "7486"
#endif // __REVISION_NR_H__