summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-23 14:51:36 +0000
committersmatz <smatz@openttd.org>2008-01-23 14:51:36 +0000
commit0b888ccc001c3157d1990467036a557783ca38be (patch)
treea6abdacf19e1ca3df7a939ab40e2a8a8e3939dc6 /src/yapf
parent9515328962991b1992310ac29f312f5774ac1eaf (diff)
downloadopenttd-0b888ccc001c3157d1990467036a557783ca38be.tar.xz
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/follow_track.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yapf/follow_track.hpp b/src/yapf/follow_track.hpp
index 1b1fc2bfb..d6e0552a0 100644
--- a/src/yapf/follow_track.hpp
+++ b/src/yapf/follow_track.hpp
@@ -214,7 +214,7 @@ protected:
return false;
}
}
- } else if (IsBridge(m_new_tile)) {
+ } else { // IsBridge(m_new_tile)
if (!m_is_bridge) {
DiagDirection ramp_enderdir = GetTunnelBridgeDirection(m_new_tile);
if (ramp_enderdir != m_exitdir) {