mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
Change: set the default setting for autorenew to on for new games (#8352)
This commit is contained in:
parent
8c42f3a8d4
commit
f2a93dba0d
@ -433,6 +433,7 @@ function Regression::Company()
|
|||||||
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
|
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
|
||||||
print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
|
print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
|
||||||
print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false));
|
print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false));
|
||||||
|
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
|
||||||
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
|
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
|
||||||
print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
|
print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
|
||||||
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
|
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
|
||||||
|
@ -615,11 +615,12 @@ ERROR: IsEnd() is invalid as Begin() is never called
|
|||||||
GetCompanyHQ(): 33153
|
GetCompanyHQ(): 33153
|
||||||
BuildCompanyHQ(): false
|
BuildCompanyHQ(): false
|
||||||
GetLastErrorString(): ERR_AREA_NOT_CLEAR
|
GetLastErrorString(): ERR_AREA_NOT_CLEAR
|
||||||
GetAutoRenewStatus(); false
|
GetAutoRenewStatus(); true
|
||||||
SetAutoRenewStatus(true); true
|
SetAutoRenewStatus(true); true
|
||||||
GetAutoRenewStatus(); true
|
GetAutoRenewStatus(); true
|
||||||
SetAutoRenewStatus(true); true
|
SetAutoRenewStatus(true); true
|
||||||
SetAutoRenewStatus(false); true
|
SetAutoRenewStatus(false); true
|
||||||
|
GetAutoRenewStatus(); false
|
||||||
GetAutoRenewMonths(); 6
|
GetAutoRenewMonths(); 6
|
||||||
SetAutoRenewMonths(-12); true
|
SetAutoRenewMonths(-12); true
|
||||||
GetAutoRenewMonths(); -12
|
GetAutoRenewMonths(); -12
|
||||||
|
@ -38,7 +38,7 @@ cat = SC_ADVANCED
|
|||||||
[SDT_BOOL]
|
[SDT_BOOL]
|
||||||
base = CompanySettings
|
base = CompanySettings
|
||||||
var = engine_renew
|
var = engine_renew
|
||||||
def = false
|
def = true
|
||||||
str = STR_CONFIG_SETTING_AUTORENEW_VEHICLE
|
str = STR_CONFIG_SETTING_AUTORENEW_VEHICLE
|
||||||
strhelp = STR_CONFIG_SETTING_AUTORENEW_VEHICLE_HELPTEXT
|
strhelp = STR_CONFIG_SETTING_AUTORENEW_VEHICLE_HELPTEXT
|
||||||
cat = SC_BASIC
|
cat = SC_BASIC
|
||||||
|
Loading…
Reference in New Issue
Block a user