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