mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-15 08:22:34 +01:00
committed by
GitHub
parent
7a6e04561d
commit
dd426bb8c7
@@ -217,9 +217,9 @@ inline void SetTrackReservation(Tile t, TrackBits b)
|
||||
|
||||
/**
|
||||
* Try to reserve a specific track on a tile
|
||||
* @pre IsPlainRailTile(t) && HasTrack(tile, t)
|
||||
* @pre IsPlainRailTile(tile) && HasTrack(tile, t)
|
||||
* @param tile the tile
|
||||
* @param t the rack to reserve
|
||||
* @param t the track to reserve
|
||||
* @return true if successful
|
||||
*/
|
||||
inline bool TryReserveTrack(Tile tile, Track t)
|
||||
@@ -236,7 +236,7 @@ inline bool TryReserveTrack(Tile tile, Track t)
|
||||
|
||||
/**
|
||||
* Lift the reservation of a specific track on a tile
|
||||
* @pre IsPlainRailTile(t) && HasTrack(tile, t)
|
||||
* @pre IsPlainRailTile(tile) && HasTrack(tile, t)
|
||||
* @param tile the tile
|
||||
* @param t the track to free
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user