Core/Player: Fix auras getting applied on water walk

This commit is contained in:
kandera
2012-03-09 09:18:34 -05:00
parent f1949b20a6
commit c9b6d73615
+1 -1
View File
@@ -23076,7 +23076,7 @@ void Player::UpdateUnderwaterState(Map* m, float x, float y, float z)
if (liquid && liquid->SpellId)
{
if (res & (LIQUID_MAP_UNDER_WATER | LIQUID_MAP_IN_WATER | LIQUID_MAP_WATER_WALK))
if (res & (LIQUID_MAP_UNDER_WATER | LIQUID_MAP_IN_WATER))
CastSpell(this, liquid->SpellId, this);
else
RemoveAurasDueToSpell(liquid->SpellId);