From 5b02b071562b305b83d05155fe205da0a978c46c Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Fri, 5 Jun 2009 14:52:34 +0400 Subject: [PATCH] [7960] Fixed client error #132. --- src/game/Corpse.cpp | 2 ++ src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/Corpse.cpp b/src/game/Corpse.cpp index f8ee0aa5c..f1a4ad115 100644 --- a/src/game/Corpse.cpp +++ b/src/game/Corpse.cpp @@ -179,6 +179,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); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c6643130c..70301aa2d 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7959" + #define REVISION_NR "7960" #endif // __REVISION_NR_H__