summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-12 05:26:36 +0000
committertron <tron@openttd.org>2006-04-12 05:26:36 +0000
commit4615a265524960e5f6f90cbc31b13e9afcf9c64e (patch)
treeb2422353437f4d1f208caf309e6959160a835a59 /tunnelbridge_cmd.c
parent82afa4caf2273662556c57494d2252feaced8b6f (diff)
downloadopenttd-4615a265524960e5f6f90cbc31b13e9afcf9c64e.tar.xz
(svn r4374) Never directly commit something you prepared the evening before, mysteriously it will break in the morning, fix r4373
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index 6711beb21..504579a3a 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -84,7 +84,7 @@ enum {
BRIDGE_PARTLY_LEVELED_FOUNDATION = 1 << 1 | 1 << 2 | 1 << 4 | 1 << 8,
// no foundations (X,Y direction) (tileh's 0, 3, 6, 9, 12)
BRIDGE_NO_FOUNDATION = 1 << 0 | 1 << 3 | 1 << 6 | 1 << 9 | 1 << 12,
- BRIDGE_HORZ_RAMP = (BRIDGE_PARTLY_LEVELED_FOUNDATION | BRIDGE_NO_FOUNDATION) & ~0
+ BRIDGE_HORZ_RAMP = (BRIDGE_PARTLY_LEVELED_FOUNDATION | BRIDGE_NO_FOUNDATION) & ~(1 << 0)
};
static inline const PalSpriteID *GetBridgeSpriteTable(int index, byte table)