mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 16:42:18 +00:00
InLiquid converted to xyz_location
This commit is contained in:
1 parent
2f203fa6bb
commit
4094d43c49
2 files changed
+2
-3
No files matched your search
@@ -29,8 +29,7 @@ bool WaterMapV2::InLava(const xyz_location& location) const {
|
||||
return ReturnRegionType(location) == RegionTypeLava;
|
||||
}
|
||||
|
||||
bool WaterMapV2::InLiquid(float y, float x, float z) const {
|
||||
auto location = xyz_location(x, y, z);
|
||||
bool WaterMapV2::InLiquid(const xyz_location& location) const {
|
||||
return InWater(location) || InLava(location);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user