Core/ObjectMgr: Refactor sCreatureStorage
This commit is contained in:
@@ -585,7 +585,7 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask
|
||||
{
|
||||
if (GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
const CreatureInfo* cinfo = this->ToCreature()->GetCreatureInfo();
|
||||
const CreatureTemplate* cinfo = this->ToCreature()->GetCreatureInfo();
|
||||
if (cinfo->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER)
|
||||
{
|
||||
if (target->isGameMaster())
|
||||
|
||||
Reference in New Issue
Block a user