diff options
| author | megamage <none@none> | 2009-06-05 17:15:54 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-05 17:15:54 -0500 |
| commit | 2a7a9a4656bff49774aeafea301756c2c4b5b8f8 (patch) | |
| tree | 89e164a06b5af58cd6b369b1d54cb3d536201f1a | |
| parent | 0014b403eb97362dbbfe3ba0c3a7cc2e3ec5425f (diff) | |
[7960] Fixed client error #132. Author: tomrus88
--HG--
branch : trunk
| -rw-r--r-- | src/game/Corpse.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Corpse.cpp b/src/game/Corpse.cpp index 3df7838cf60..8cc70b3512f 100644 --- a/src/game/Corpse.cpp +++ b/src/game/Corpse.cpp @@ -181,6 +181,8 @@ bool Corpse::LoadFromDB(uint32 guid, Field *fields) float ort = fields[3].GetFloat(); uint32 mapid = fields[4].GetUInt32(); + Object::_Create(guid, 0, HIGHGUID_CORPSE); + if(!LoadValues( fields[5].GetString() )) { sLog.outError("Corpse #%d have broken data in `data` field. Can't be loaded.",guid); |
