mirror of https://github.com/OpenTTD/OpenTTD
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
parent
f6555cf6f8
commit
9295bd3f7c
|
@ -504,6 +504,7 @@ CommandCost CmdRemoveSingleRail(TileIndex tile, uint32 flags, uint32 p1, uint32
|
|||
}
|
||||
} else {
|
||||
SetTrackBits(tile, present);
|
||||
SetTrackReservation(tile, GetTrackReservation(tile) & present);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue