summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-23 20:40:49 +0000
committerdarkvater <darkvater@openttd.org>2005-01-23 20:40:49 +0000
commit660f130d2b6333c193245bf57db073fbcbef7759 (patch)
tree76b8908ff33d48338f1ec241a6ed4af57162c683 /rail_cmd.c
parenta2619da37e81d568794da8f7d34f3014f196141a (diff)
downloadopenttd-660f130d2b6333c193245bf57db073fbcbef7759.tar.xz
(svn r1624) -Fix: [1106930] BugFix: placing signals with 2x1 drags is treated as placing a single signal thus providing an easy fix for a nasty problem.
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index 2356de218..c768edb62 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -520,10 +520,10 @@ static const struct {
0, 16, 0, 16, 0, 16, 0, 0,
0, -16, -16, 0,-16, 0, 0, 0,
},{
- 5, 1, 0,4, // normal
- 2, 1, 8,3, // x > sx
- 10, 9, 0,11, // y > sy
- 13, 9, 8,12, // x > sx && y > sy
+ 5, 1, 0, 4, // normal
+ 2, 1, 8|0, 3, // x > sx
+ 8|2, 8|1, 0, 8|3, // y > sy
+ 8|5, 8|1, 8|0, 8|4, // x > sx && y > sy
}};