mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 20:07:56 +00:00
Fix for x and y swapped on water maps
This commit is contained in:
@@ -10,7 +10,7 @@ WaterRegionType WaterMapV2::ReturnRegionType(const glm::vec3& location) const {
|
||||
size_t sz = regions.size();
|
||||
for(size_t i = 0; i < sz; ++i) {
|
||||
auto const ®ion = regions[i];
|
||||
if (region.second.ContainsPoint(glm::vec3(location.x, location.y, location.z))) {
|
||||
if (region.second.ContainsPoint(glm::vec3(location.y, location.x, location.z))) {
|
||||
return region.first;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user