diff options
author | yexo <yexo@openttd.org> | 2012-08-20 21:01:40 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2012-08-20 21:01:40 +0000 |
commit | fe31aa28c422f1fab32ab3b72d8369d539c8496e (patch) | |
tree | 78d7776bd3eaf5c9fb62ca7f3b7ea4e26824260b /src/ai/ai_core.cpp | |
parent | 2a89d0d13d9b7afb6a56b31715ba1b022070eef8 (diff) | |
download | openttd-fe31aa28c422f1fab32ab3b72d8369d539c8496e.tar.xz |
(svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the path instead of a boolean (LordAro)
Diffstat (limited to 'src/ai/ai_core.cpp')
-rw-r--r-- | src/ai/ai_core.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index 82e2c7809..e2f04622b 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -352,3 +352,14 @@ } #endif /* defined(ENABLE_NETWORK) */ + +/* static */ AIScannerInfo *AI::GetScannerInfo() +{ + return AI::scanner_info; +} + +/* static */ AIScannerLibrary *AI::GetScannerLibrary() +{ + return AI::scanner_library; +} + |