diff options
author | frosch <frosch@openttd.org> | 2015-01-20 19:11:31 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2015-01-20 19:11:31 +0000 |
commit | a55a5bff24d60de86a63fe1074c1fca314bf660c (patch) | |
tree | 3fd961f0134783992423f17b314597f32b9e2367 | |
parent | 8280de72409a150c6498ff4653e5cf1db65cab47 (diff) | |
download | openttd-a55a5bff24d60de86a63fe1074c1fca314bf660c.tar.xz |
(svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn)
-rw-r--r-- | src/script/api/script_engine.hpp | 1 | ||||
-rw-r--r-- | src/script/api/script_station.hpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/script/api/script_engine.hpp b/src/script/api/script_engine.hpp index 5f703e159..173377742 100644 --- a/src/script/api/script_engine.hpp +++ b/src/script/api/script_engine.hpp @@ -108,7 +108,6 @@ public: * Get the maximum speed of an engine. * @param engine_id The engine to get the maximum speed of. * @pre IsValidEngine(engine_id). - * @pre GetVehicleType(engine_id) != ScriptVehicle::VT_TRAIN || !IsWagon(engine_id). * @return The maximum speed the engine has. * @note The speed is in OpenTTD's internal speed unit. * This is mph / 1.6, which is roughly km/h. diff --git a/src/script/api/script_station.hpp b/src/script/api/script_station.hpp index 60ee1f02e..8561cd9bd 100644 --- a/src/script/api/script_station.hpp +++ b/src/script/api/script_station.hpp @@ -291,7 +291,7 @@ public: * @param station_id The airport to modify. * @pre IsValidStation(station_id). * @pre HasStationType(station_id, STATION_AIRPORT). - * @return True if the state could be toggled. + * @return True if the state was toggled successfully. */ static bool OpenCloseAirport(StationID station_id); |