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
@ -8756,6 +8756,11 @@ void Client::CheckRegionTypeChanges()
|
|||||||
// still same region, do nothing
|
// still same region, do nothing
|
||||||
if (last_region_type == new_region)
|
if (last_region_type == new_region)
|
||||||
return;
|
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
|
// region type changed
|
||||||
last_region_type = new_region;
|
last_region_type = new_region;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user