From dd426bb8c71547482240d24ef787c7fcba53c0bc Mon Sep 17 00:00:00 2001 From: Cornelius Diekmann <1486029+diekmann@users.noreply.github.com> Date: Tue, 2 Sep 2025 13:55:08 +0200 Subject: [PATCH] Codefix f6555cf: fix comment track vs. tile (#14571) --- src/rail_map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rail_map.h b/src/rail_map.h index ca13eaf271..5b06a2cb57 100644 --- a/src/rail_map.h +++ b/src/rail_map.h @@ -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 */