Change: Allow GS access to ScriptGameSettings.IsDisabledVehicleType

This commit is contained in:
SamuXarick 2023-01-23 21:08:19 +00:00 committed by rubidium42
parent fd26a44c9e
commit f225f36c3d
2 changed files with 1 additions and 1 deletions

View File

@ -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.

View File

@ -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);
};