diff options
author | smatz <smatz@openttd.org> | 2008-01-23 14:51:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-23 14:51:36 +0000 |
commit | 0b888ccc001c3157d1990467036a557783ca38be (patch) | |
tree | a6abdacf19e1ca3df7a939ab40e2a8a8e3939dc6 /src/yapf | |
parent | 9515328962991b1992310ac29f312f5774ac1eaf (diff) | |
download | openttd-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.hpp | 2 |
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) { |