aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-04-27 17:25:27 +0200
committerShauren <shauren.trinity@gmail.com>2015-04-27 17:25:27 +0200
commitbe4b48ecaac8fe76a5f29f74bf1affc0c7ed76a0 (patch)
tree8f9a3b74205d1a297e6d43e38f2374361a7c6fc0 /src
parent2268f07a5f8b30fe44d603ffed4a2b37c351abc2 (diff)
Core/Corpses: Fixed corpses loaded from database not being visible after server restart
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Corpse/Corpse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Entities/Corpse/Corpse.cpp b/src/server/game/Entities/Corpse/Corpse.cpp
index bf69b4e7443..192a897238a 100644
--- a/src/server/game/Entities/Corpse/Corpse.cpp
+++ b/src/server/game/Entities/Corpse/Corpse.cpp
@@ -169,6 +169,7 @@ bool Corpse::LoadCorpseFromDB(uint32 guid, Field* fields)
Object::_Create(guid, 0, HIGHGUID_CORPSE);
+ SetObjectScale(1.0f);
SetUInt32Value(CORPSE_FIELD_DISPLAY_ID, fields[5].GetUInt32());
_LoadIntoDataField(fields[6].GetCString(), CORPSE_FIELD_ITEM, EQUIPMENT_SLOT_END);
SetUInt32Value(CORPSE_FIELD_BYTES_1, fields[7].GetUInt32());