Core/Misc: kill whitespace and use enum instead of hardcoded value.
This commit is contained in:
1 parent
6f7dc7e86d
commit
429a4bc13b
2 files changed
+2
-2
No files matched your search
@@ -15812,7 +15812,7 @@ void Player::SetQuestStatus(uint32 questId, QuestStatus status, bool update /*=
|
||||
if (Quest const* quest = sObjectMgr->GetQuestTemplate(questId))
|
||||
{
|
||||
m_QuestStatus[questId].Status = status;
|
||||
|
||||
|
||||
if (!quest->IsAutoComplete())
|
||||
m_QuestStatusSave[questId] = QUEST_DEFAULT_SAVE_TYPE;
|
||||
}
|
||||
|
||||
@@ -2275,7 +2275,7 @@ public:
|
||||
{
|
||||
me->StopMoving();
|
||||
me->SetUInt32Value(UNIT_NPC_FLAGS, 0);
|
||||
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_NONE);
|
||||
if (Player* player = ObjectAccessor::GetPlayer(*me, uiPlayerGUID))
|
||||
me->SetFacingToObject(player);
|
||||
uiEventTimer = 3000;
|
||||
|
||||
Reference in new issue
Block a user