Skip to content

Commit

Permalink
Fix Water Walking as Ghost and on map change
Browse files Browse the repository at this point in the history
  • Loading branch information
Warlockbugs committed Sep 11, 2016
1 parent a9f2b4f commit 8a2352f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/Player.cpp
Expand Up @@ -19975,6 +19975,9 @@ void Player::SendInitialPacketsAfterAddToMap()
if (HasAuraType(SPELL_AURA_MOD_STUN) || HasAuraType(SPELL_AURA_MOD_ROOT))
SetRoot(true);

if (HasAuraType(SPELL_AURA_GHOST) || HasAuraType(SPELL_AURA_WATER_WALK))
SetWaterWalk(true);

SendAurasForTarget(this);
SendEnchantmentDurations(); // must be after add to map
SendItemDurations(); // must be after add to map
Expand Down

0 comments on commit 8a2352f

Please sign in to comment.