1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 08:22:34 +01:00

Codefix f6555cf: fix comment track vs. tile (#14571)

This commit is contained in:
Cornelius Diekmann
2025-09-02 13:55:08 +02:00
committed by GitHub
parent 7a6e04561d
commit dd426bb8c7

View File

@@ -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
*/