forked from mirror/OpenTTD
(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed
This commit is contained in:
@@ -95,7 +95,7 @@ static bool CheckTrackCombination(TileIndex tile, TrackBits to_build, uint flags
|
|||||||
/* So, we have a tile with tracks on it (and possibly signals). Let's see
|
/* So, we have a tile with tracks on it (and possibly signals). Let's see
|
||||||
* what tracks first */
|
* what tracks first */
|
||||||
current = GetTrackBits(tile);
|
current = GetTrackBits(tile);
|
||||||
future = current & to_build;
|
future = current | to_build;
|
||||||
|
|
||||||
/* Are we really building something new? */
|
/* Are we really building something new? */
|
||||||
if (current == future) {
|
if (current == future) {
|
||||||
|
Reference in New Issue
Block a user