forked from mirror/OpenTTD
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
This commit is contained in:
@@ -504,6 +504,7 @@ CommandCost CmdRemoveSingleRail(TileIndex tile, uint32 flags, uint32 p1, uint32
|
||||
}
|
||||
} else {
|
||||
SetTrackBits(tile, present);
|
||||
SetTrackReservation(tile, GetTrackReservation(tile) & present);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user