diff options
author | Darkvater <Darkvater@openttd.org> | 2006-04-22 08:45:58 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-04-22 08:45:58 +0000 |
commit | 65979340dea72e31751deafa7e78657829c98df5 (patch) | |
tree | 7756d0367119c21d0a9c6b5395409eb7a58c43a0 | |
parent | 0cfb45d112a9b55a7738bd43701abc90e7e63668 (diff) | |
download | openttd-65979340dea72e31751deafa7e78657829c98df5.tar.xz |
(svn r4518) - Fix: specify the 'stopall' console command as a debug command. Mostly because stopped airplanes in mid-air 1. look funny 2. won't ever budge again. (change of r2449)
-rw-r--r-- | console_cmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/console_cmds.c b/console_cmds.c index c843f1a10..2228b66aa 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -1322,6 +1322,7 @@ static void IConsoleDebugLibRegister(void) IConsoleVarRegister("con_developer", &_stdlib_con_developer, ICONSOLE_VAR_BOOLEAN, "Enable/disable console debugging information (internal)"); IConsoleCmdRegister("resettile", ConResetTile); + IConsoleCmdRegister("stopall", ConStopAllVehicles); IConsoleAliasRegister("dbg_echo", "echo %A; echo %B"); IConsoleAliasRegister("dbg_echo2", "echo %!"); } @@ -1365,7 +1366,6 @@ void IConsoleStdLibRegister(void) IConsoleCmdRegister("cd", ConChangeDirectory); IConsoleCmdRegister("pwd", ConPrintWorkingDirectory); IConsoleCmdRegister("clear", ConClearBuffer); - IConsoleCmdRegister("stopall", ConStopAllVehicles); IConsoleAliasRegister("dir", "ls"); IConsoleAliasRegister("del", "rm %+"); @@ -1379,7 +1379,6 @@ void IConsoleStdLibRegister(void) /* networking variables and functions */ #ifdef ENABLE_NETWORK /* Network hooks; only active in network */ - IConsoleCmdHookAdd ("stopall", ICONSOLE_HOOK_ACCESS, ConHookNoNetwork); IConsoleCmdHookAdd ("resetengines", ICONSOLE_HOOK_ACCESS, ConHookNoNetwork); /*** Networking commands ***/ |