mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-21 23:48:26 +00:00
Will no longer use bestz snapping every frame if a navmesh is available. Fix for inliquid
This commit is contained in:
@@ -30,7 +30,8 @@ bool WaterMapV2::InLava(const glm::vec3& location) const {
|
||||
}
|
||||
|
||||
bool WaterMapV2::InLiquid(const glm::vec3& location) const {
|
||||
return InWater(location) || InLava(location);
|
||||
auto rtype = ReturnRegionType(location);
|
||||
return rtype == RegionTypeWater || rtype == RegionTypeLava || rtype == RegionTypeVWater;
|
||||
}
|
||||
|
||||
bool WaterMapV2::Load(FILE *fp) {
|
||||
|
||||
Reference in New Issue
Block a user