diff options
author | yexo <yexo@openttd.org> | 2011-06-13 15:23:20 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-06-13 15:23:20 +0000 |
commit | 0dc20c7d5fdc97e7aa5527ce2573806232ee09c6 (patch) | |
tree | 0eb2e1387146b0660ebb57c93cce02af65fed8ca /bin/ai/compat_0.7.nut | |
parent | f851a515cc30b715caad56b34fe9db7be636e951 (diff) | |
download | openttd-0dc20c7d5fdc97e7aa5527ce2573806232ee09c6.tar.xz |
(svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth)
Diffstat (limited to 'bin/ai/compat_0.7.nut')
-rw-r--r-- | bin/ai/compat_0.7.nut | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ai/compat_0.7.nut b/bin/ai/compat_0.7.nut index 75669eaf6..d85a5fbe0 100644 --- a/bin/ai/compat_0.7.nut +++ b/bin/ai/compat_0.7.nut @@ -321,3 +321,8 @@ AIAbstractList <- AIList; AIList.ChangeItem <- AIList.SetValue; AIRail.ERR_NONUNIFORM_STATIONS_DISABLED <- 0xFFFF; + +AICompany.GetCompanyValue <- function(company) +{ + return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER); +} |