Fix for x and y swapped on water maps

This commit is contained in:
KimLS committed 2015-01-23 12:23:24 -08:00
1 parent 269d56e1d0
commit 143c0cf0f9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ WaterMapV1::~WaterMapV1() {
}
WaterRegionType WaterMapV1::ReturnRegionType(const glm::vec3& location) const {
return BSPReturnRegionType(1, location);
return BSPReturnRegionType(1, glm::vec3(location.y, location.x, location.z));
}
bool WaterMapV1::InWater(const glm::vec3& location) const {