mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
InLiquid converted to xyz_location
This commit is contained in:
@@ -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