aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index d249c60a175..7557c23d072 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -6483,16 +6483,14 @@ void ObjectMgr::LoadCorpses()
uint32 guid = fields[result->GetFieldCount()-1].GetUInt32();
- uint32 mapId;
- uint32 instanceId;
Corpse *corpse = new Corpse;
- if(!corpse->LoadFromDB(guid,fields,mapId,instanceId))
+ if(!corpse->LoadFromDB(guid,fields))
{
delete corpse;
continue;
}
- ObjectAccessor::Instance().AddCorpse(corpse,mapId,instanceId);
+ ObjectAccessor::Instance().AddCorpse(corpse);
++count;
}