Core/Misc: kill whitespace and use enum instead of hardcoded value.

This commit is contained in:
Snapper
2016-07-09 21:36:04 +02:00
committed by Aokromes
parent 6f7dc7e86d
commit 429a4bc13b
2 changed files with 2 additions and 2 deletions

View File

@@ -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;