diff options
author | planetmaker <planetmaker@openttd.org> | 2011-01-15 22:50:49 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-01-15 22:50:49 +0000 |
commit | 9b4beb0a5c9c3666c36380ace6b7b8e7e1903a4f (patch) | |
tree | 65f4eda1bd02d2cd80f4574f30735ab189ee321d /src | |
parent | 7645c5ac43b8b16611fdd169bc01fb5e9d2d43b9 (diff) | |
download | openttd-9b4beb0a5c9c3666c36380ace6b7b8e7e1903a4f.tar.xz |
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
Diffstat (limited to 'src')
-rw-r--r-- | src/rail_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index eed8c0bb8..bb77984d9 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1182,8 +1182,8 @@ static CommandCost CmdSignalTrackHelper(TileIndex tile, DoCommandFlag flags, uin semaphores = GetSignalVariant(tile, track) != SIG_ELECTRIC; sigtype = GetSignalType(tile, track); - /* Don't but copy pre-signal type */ - if (sigtype < SIGTYPE_PBS) sigtype = SIGTYPE_NORMAL; + /* Don't but copy entry or exit-signal type */ + if (sigtype == SIGTYPE_ENTRY || sigtype == SIGTYPE_EXIT) sigtype = SIGTYPE_NORMAL; } else { // no signals exist, drag a two-way signal stretch signals = IsPbsSignal(sigtype) ? SignalAlongTrackdir(trackdir) : SignalOnTrack(track); } |