summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-05-31 21:21:04 +0000
committerglx <glx@openttd.org>2007-05-31 21:21:04 +0000
commit2958f0c53a157b52f517d88623733f3fc4066fc6 (patch)
tree13e87b8391261689eccead160d6496f2589872b5 /src/yapf
parent4af692558a4e78e5b5b074f68adf3c60ff89d055 (diff)
downloadopenttd-2958f0c53a157b52f517d88623733f3fc4066fc6.tar.xz
(svn r10006) -Fix (FS#362): allow different signal types on one tile
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/yapf_costrail.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp
index 8efda0c27..ffde3703b 100644
--- a/src/yapf/yapf_costrail.hpp
+++ b/src/yapf/yapf_costrail.hpp
@@ -121,7 +121,7 @@ public:
Yapf().m_stopped_on_first_two_way_signal = true;
return -1;
}
- SignalType sig_type = GetSignalType(tile);
+ SignalType sig_type = GetSignalType(tile, TrackdirToTrack(trackdir));
n.m_last_red_signal_type = sig_type;
n.flags_u.flags_s.m_last_signal_was_red = true;