Fix: missing/duplicate documentation tags for scripts

This commit is contained in:
Rubidium
2023-01-25 23:40:57 +01:00
committed by rubidium42
parent 3112b387e7
commit f9a473bef7
12 changed files with 80 additions and 18 deletions

View File

@@ -160,7 +160,7 @@ public:
/**
* Check if a road vehicle built for a road type can run on another road type.
* @param engine_road_type The road type the road vehicle is built for.
* @param track_road_type The road type you want to check.
* @param road_road_type The road type you want to check.
* @pre ScriptRoad::IsRoadTypeAvailable(engine_road_type).
* @pre ScriptRoad::IsRoadTypeAvailable(road_road_type).
* @return Whether a road vehicle built for 'engine_road_type' can run on 'road_road_type'.
@@ -386,7 +386,6 @@ public:
* one-way in the other direction, it's made a 'no'-way road (it's
* forbidden to enter the tile from any direction).
* @param start The start tile of the road.
* @param start The start tile of the road.
* @param end The end tile of the road.
* @pre 'start' is not equal to 'end'.
* @pre ScriptMap::IsValidTile(start).