changeset: 1187:d05206c98e33
user: Alberth <alberth@openttd.org>
date: Wed Oct 22 21:13:45 2014 +0200
summary: -Fix: Only consider looking one level lower when there is no ride and no path.
diff --git a/src/person.cpp b/src/person.cpp
--- a/src/person.cpp
+++ b/src/person.cpp
@@ -864,10 +864,8 @@ AnimateResult Guest::OnAnimate(int delay
this->AddSelf(v);
this->DecideMoveDirection();
return OAR_OK;
- }
- /* Maybe a path below this voxel? */
- if (this->z_vox > 0) {
+ } else if (this->z_vox > 0) { // Maybe a path below this voxel?
dz--;
this->z_vox--;
this->z_pos = 255;