diff options
author | tron <tron@openttd.org> | 2005-06-08 09:03:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-08 09:03:29 +0000 |
commit | ea0f21fbcc57cf8b205a5fc745213df8262da645 (patch) | |
tree | 0f9be1cf6d459093d340f2f22eb7cecae8935cd6 /rail_cmd.c | |
parent | 0171aae10965259aa146749b0bd6e47ad9d3e4f7 (diff) | |
download | openttd-ea0f21fbcc57cf8b205a5fc745213df8262da645.tar.xz |
(svn r2434) Fix some defects in r2433
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 0fcec1455..a5c9dc8f3 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -374,7 +374,7 @@ int32 CmdBuildSingleRail(int x, int y, uint32 flags, uint32 p1, uint32 p2) break; } - if (IsLevelCrossing(tile) == 0x10 && (m5 & 0x08 ? 1 : 2) == rail_bit) + if (IsLevelCrossing(tile) && (m5 & 0x08 ? 1 : 2) == rail_bit) return_cmd_error(STR_1007_ALREADY_BUILT); /* FALLTHROUGH */ |