diff options
author | truebrain <truebrain@openttd.org> | 2011-12-01 12:03:34 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-01 12:03:34 +0000 |
commit | cc12942d70fa2a672c59e848c196c6647f8f1129 (patch) | |
tree | 3543911ce7080ad03897907e5e192d7697bc954e /src/console_cmds.cpp | |
parent | 0c2bbdde5c0f9577cff72af5b34c10777c6bebd0 (diff) | |
download | openttd-cc12942d70fa2a672c59e848c196c6647f8f1129.tar.xz |
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 4c6a51ba8..6a6404cbc 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1069,7 +1069,6 @@ DEF_CONSOLE_CMD(ConRestart) return true; } -#ifdef ENABLE_AI /** * Print a text buffer line by line to the console. Lines are seperated by '\n'. * @param buf The buffer to print. @@ -1255,7 +1254,6 @@ DEF_CONSOLE_CMD(ConRescanAI) return true; } -#endif /* ENABLE_AI */ DEF_CONSOLE_CMD(ConRescanNewGRF) { @@ -1892,14 +1890,12 @@ void IConsoleStdLibRegister() IConsoleAliasRegister("list_patches", "list_settings %+"); IConsoleAliasRegister("developer", "setting developer %+"); -#ifdef ENABLE_AI IConsoleCmdRegister("list_ai_libs", ConListAILibs); IConsoleCmdRegister("list_ai", ConListAI); IConsoleCmdRegister("reload_ai", ConReloadAI); IConsoleCmdRegister("rescan_ai", ConRescanAI); IConsoleCmdRegister("start_ai", ConStartAI); IConsoleCmdRegister("stop_ai", ConStopAI); -#endif /* ENABLE_AI */ /* networking functions */ #ifdef ENABLE_NETWORK |