Add another layer of randomization to roam box logic, npc's who weren't originally spawned in water won't roambox into water

This commit is contained in:
Akkadius committed 2018-08-18 22:01:46 -05:00
1 parent 4b6ab34fd9
commit 834062fbf9
7 files changed
+61 -8

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ bool WaterMapV2::InLava(const glm::vec3& location) const {
}
bool WaterMapV2::InLiquid(const glm::vec3& location) const {
return InWater(location) || InLava(location);
return InWater(location) || InLava(location) || InVWater(location);
}
bool WaterMapV2::InPvP(const glm::vec3& location) const {