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_1.1.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_1.1.nut')
-rw-r--r-- | bin/ai/compat_1.1.nut | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ai/compat_1.1.nut b/bin/ai/compat_1.1.nut index 16440bf92..8328e4b9a 100644 --- a/bin/ai/compat_1.1.nut +++ b/bin/ai/compat_1.1.nut @@ -8,3 +8,8 @@ */ AILog.Info("1.1 API compatability in effect."); + +AICompany.GetCompanyValue <- function(company) +{ + return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER); +} |