From 803c3aabe434ee22aacbffe035aeaf40d4d75871 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Thu, 2 Apr 2020 11:54:19 -0400 Subject: [PATCH] Update client.cpp --- zone/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zone/client.cpp b/zone/client.cpp index 8c4b42957..a270d6579 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -8756,6 +8756,11 @@ void Client::CheckRegionTypeChanges() // still same region, do nothing if (last_region_type == new_region) return; + + // If we got out of water clear any water aggro for water only npcs + if (last_region_type == RegionTypeWater) { + entity_list.ClearWaterAggro(this); + } // region type changed last_region_type = new_region;