summaryrefslogtreecommitdiff
path: root/src/pathfinder/follow_track.hpp
diff options
context:
space:
mode:
authorJuanjo <juanjo.ng.83@gmail.com>2014-07-15 19:08:00 +0200
committerfrosch <github@elsenhans.name>2018-06-27 23:14:30 +0200
commit85ebe20a761127bebe873389d81f31502685a98a (patch)
tree8bbd92853c9f2180c89c594db31fc202803e336d /src/pathfinder/follow_track.hpp
parent6a9df285d0c368df5026270d34639d396a8120bb (diff)
downloadopenttd-85ebe20a761127bebe873389d81f31502685a98a.tar.xz
Cleanup: Unnecessary assignation on FollowTileExit(): done previously on the function.
Diffstat (limited to 'src/pathfinder/follow_track.hpp')
-rw-r--r--src/pathfinder/follow_track.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pathfinder/follow_track.hpp b/src/pathfinder/follow_track.hpp
index a8399cd9f..ad81d974b 100644
--- a/src/pathfinder/follow_track.hpp
+++ b/src/pathfinder/follow_track.hpp
@@ -227,8 +227,6 @@ protected:
m_is_station = true;
} else if (IsRoadTT() && IsRoadStopTile(m_new_tile)) {
m_is_station = true;
- } else {
- m_is_station = false;
}
}