mirror of https://github.com/OpenTTD/OpenTTD.git
Change: Allow GS access to ScriptGameSettings.IsDisabledVehicleType
This commit is contained in:
parent
fd26a44c9e
commit
f225f36c3d
|
@ -44,6 +44,7 @@
|
|||
* \li GSCompany::SetAutoRenewStatus
|
||||
* \li GSCompany::SetAutoRenewMonths
|
||||
* \li GSCompany::SetAutoRenewMoney
|
||||
* \li GSGameSettings::IsDisabledVehicleType
|
||||
*
|
||||
* API removals:
|
||||
* \li GSError::ERR_PRECONDITION_TOO_MANY_PARAMETERS, that error is never returned anymore.
|
||||
|
|
|
@ -75,7 +75,6 @@ public:
|
|||
* Checks whether the given vehicle-type is disabled for companies.
|
||||
* @param vehicle_type The vehicle-type to check.
|
||||
* @return True if the vehicle-type is disabled.
|
||||
* @api -game
|
||||
*/
|
||||
static bool IsDisabledVehicleType(ScriptVehicle::VehicleType vehicle_type);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue