* fixed crash when transforming irr to world coord, when maptile was not loaded * fixed possible bugs wtih corpse object type * removed name2-4 fields from item protos, they are useless * added IsPlayer(), IsCreature(), etc functions to Object class. TypeID check sucks. * changed item proto storage in ObjMgr to std::map instead of vector for faster lookup. * added exception handling to ByteBuffer class to prevent possible crashes on invalid read access. this also fixes possible startup crashes with corrupted item/creature cache files. * CHAT_MSG_MONSTER_SAY should work now (monster yell handled differently by MaNGOS?!) * forgot last rev: no more stair effect on terrain. thx bLuma for patch!
13 lines
196 B
C++
13 lines
196 B
C++
#include "Corpse.h"
|
|
|
|
Corpse::Corpse()
|
|
{
|
|
_type=TYPE_CORPSE;
|
|
_typeid=TYPEID_CORPSE;
|
|
_valuescount=CORPSE_END;
|
|
}
|
|
|
|
void Corpse::Create(uint64 guid)
|
|
{
|
|
Object::Create(guid);
|
|
} |