mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codefix: [Script] Mention ScriptError::ERR_STATION_TOO_SPREAD_OUT in API doc (#14562)
This commit is contained in:
@@ -447,6 +447,7 @@ public:
|
||||
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS
|
||||
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN
|
||||
* @exception ScriptError::ERR_BRIDGE_TOO_LOW
|
||||
* @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT
|
||||
* @return Whether the station has been/can be build or not.
|
||||
*/
|
||||
static bool BuildRoadStation(TileIndex tile, TileIndex front, RoadVehicleType road_veh_type, StationID station_id);
|
||||
@@ -473,6 +474,7 @@ public:
|
||||
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS
|
||||
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN
|
||||
* @exception ScriptError::ERR_BRIDGE_TOO_LOW
|
||||
* @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT
|
||||
* @return Whether the station has been/can be build or not.
|
||||
*/
|
||||
static bool BuildDriveThroughRoadStation(TileIndex tile, TileIndex front, RoadVehicleType road_veh_type, StationID station_id);
|
||||
|
||||
Reference in New Issue
Block a user