Changes to various path finding behavior

This commit is contained in:
KimLS
2018-11-09 00:54:51 -08:00
parent fd7b6deafa
commit 8f0051db8d
20 changed files with 157 additions and 165 deletions
+1 -1
View File
@@ -610,7 +610,7 @@ float Mob::GetFixedZ(const glm::vec3 &destination, int32 z_find_offset) {
if (zone->HasMap() && RuleB(Map, FixZWhenMoving)) {
if (flymode != GravityBehavior::Ground)
if (flymode == GravityBehavior::Flying)
return new_z;
if (zone->HasWaterMap() && zone->watermap->InLiquid(glm::vec3(m_Position)))