diff options
-rw-r--r-- | src/rail_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 7e231ff80..a85626837 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -504,6 +504,7 @@ CommandCost CmdRemoveSingleRail(TileIndex tile, uint32 flags, uint32 p1, uint32 } } else { SetTrackBits(tile, present); + SetTrackReservation(tile, GetTrackReservation(tile) & present); } } break; |