Core/Player: update play phase on area change before spell area spells to avoid some issues with phased spell targets

This commit is contained in:
Ovahlord committed 2018-11-23 09:07:49 +01:00
1 parent f4f888548b
commit c6961f9b47
1 file changed
+1 -1
+1 -1
View File
@@ -7520,8 +7520,8 @@ void Player::UpdateArea(uint32 newArea)
pvpInfo.IsInFFAPvPArea = area && (area->flags & AREA_FLAG_ARENA);
UpdatePvPState(true);
UpdateAreaDependentAuras(newArea);
PhasingHandler::OnAreaChange(this);
UpdateAreaDependentAuras(newArea);
// previously this was in UpdateZone (but after UpdateArea) so nothing will break
pvpInfo.IsInNoPvPArea = false;