mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Update client.cpp
This commit is contained in:
parent
15dde4778a
commit
803c3aabe4
@ -8757,6 +8757,11 @@ void Client::CheckRegionTypeChanges()
|
||||
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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user