mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-17 17:24:33 +00:00
feat(Core/GameObject): Gob flag helpers (#11287)
This commit is contained in:
@@ -895,7 +895,7 @@ public:
|
||||
if (player->GetQuestStatus(QUEST_THE_FIRST_TRIAL) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
_playerGUID = player->GetGUID();
|
||||
me->SetFlag(GAMEOBJECT_FLAGS, 1);
|
||||
me->SetGameObjectFlag((GameObjectFlags)1);
|
||||
me->RemoveByteFlag(GAMEOBJECT_BYTES_1, 0, 1);
|
||||
_events.ScheduleEvent(EVENT_STILLBLADE_SPAWN, 1000);
|
||||
}
|
||||
@@ -922,7 +922,7 @@ public:
|
||||
}
|
||||
case EVENT_RESET_BRAZIER:
|
||||
{
|
||||
me->RemoveFlag(GAMEOBJECT_FLAGS, 1);
|
||||
me->RemoveGameObjectFlag((GameObjectFlags)1);
|
||||
me->SetByteFlag(GAMEOBJECT_BYTES_1, 0, 1);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user