Fixes creatures not pathing though water.

This commit is contained in:
hondacrx
2024-03-19 17:21:59 -04:00
parent 1e421b9f53
commit 8696e12f83
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -602,9 +602,9 @@ namespace Game.Maps
if (delta > collisionHeight) // Under water
status = ZLiquidStatus.UnderWater;
if (delta > 0.0f) // In water
else if (delta > 0.0f) // In water
status = ZLiquidStatus.InWater;
if (delta > -0.1f) // Walk on water
else if (delta > -0.1f) // Walk on water
status = ZLiquidStatus.WaterWalk;
if (status != ZLiquidStatus.AboveWater)