diff options
author | Tyler Trahan <55058389+2TallTyler@users.noreply.github.com> | 2020-12-15 03:58:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 09:58:37 +0100 |
commit | f2a93dba0d7c4e4f23d9d5cb36e1ede8c02eeeca (patch) | |
tree | 699d7566d266a0b3a581430900c6af41ed2cffdd /regression | |
parent | 8c42f3a8d4a93fc2c613fa76b6ea9eb7dc277af1 (diff) | |
download | openttd-f2a93dba0d7c4e4f23d9d5cb36e1ede8c02eeeca.tar.xz |
Change: set the default setting for autorenew to on for new games (#8352)
Diffstat (limited to 'regression')
-rw-r--r-- | regression/regression/main.nut | 1 | ||||
-rw-r--r-- | regression/regression/result.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/regression/regression/main.nut b/regression/regression/main.nut index 65742d71b..0434524d2 100644 --- a/regression/regression/main.nut +++ b/regression/regression/main.nut @@ -433,6 +433,7 @@ function Regression::Company() print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF)); print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true)); print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false)); + print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF)); print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF)); print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12)); print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF)); diff --git a/regression/regression/result.txt b/regression/regression/result.txt index 4cb74aaa5..ab441256d 100644 --- a/regression/regression/result.txt +++ b/regression/regression/result.txt @@ -615,11 +615,12 @@ ERROR: IsEnd() is invalid as Begin() is never called GetCompanyHQ(): 33153 BuildCompanyHQ(): false GetLastErrorString(): ERR_AREA_NOT_CLEAR - GetAutoRenewStatus(); false + GetAutoRenewStatus(); true SetAutoRenewStatus(true); true GetAutoRenewStatus(); true SetAutoRenewStatus(true); true SetAutoRenewStatus(false); true + GetAutoRenewStatus(); false GetAutoRenewMonths(); 6 SetAutoRenewMonths(-12); true GetAutoRenewMonths(); -12 |