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
commit6a4be9758c1da4e64810ad1b112a0e8da3882834 (patch)
tree13e87b8391261689eccead160d6496f2589872b5 /src/yapf
parent4c243d099cdd06454337bbea93e0d3ce84e48d14 (diff)
downloadopenttd-6a4be9758c1da4e64810ad1b112a0e8da3882834.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;