Mercurial > hg > openttd
changeset 1946:235eb7ff07b0 draft
(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed
author | tron <tron@openttd.org> |
---|---|
date | Fri, 17 Jun 2005 07:35:10 +0000 |
parents | 4bbbd728f0d4 |
children | 0b5cde377d58 |
files | rail_cmd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rail_cmd.c +++ b/rail_cmd.c @@ -95,7 +95,7 @@ /* So, we have a tile with tracks on it (and possibly signals). Let's see * what tracks first */ current = GetTrackBits(tile); - future = current & to_build; + future = current | to_build; /* Are we really building something new? */ if (current == future) {