diff options
author | smatz <smatz@openttd.org> | 2011-01-15 15:51:16 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-01-15 15:51:16 +0000 |
commit | 0ab078158e0b02ab094af7b714d0c39da1871b6b (patch) | |
tree | 10c39b3b8910d10012b37fda856d64ad1d598571 /src/console_cmds.cpp | |
parent | 679cd3c21b44d0fdcbed2edaf7b243dcb1ac89f6 (diff) | |
download | openttd-0ab078158e0b02ab094af7b714d0c39da1871b6b.tar.xz |
(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index a7d855ab2..e78ca1294 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -161,17 +161,6 @@ DEF_CONSOLE_CMD(ConResetTile) return false; } - -DEF_CONSOLE_CMD(ConStopAllVehicles) -{ - if (argc == 0) { - IConsoleHelp("Stops all vehicles in the game. For debugging only! Use at your own risk... Usage: 'stopall'"); - return true; - } - - StopAllVehicles(); - return true; -} #endif /* _DEBUG */ DEF_CONSOLE_CMD(ConScrollToTile) @@ -1742,7 +1731,6 @@ DEF_CONSOLE_CMD(ConNewGRFReload) static void IConsoleDebugLibRegister() { IConsoleCmdRegister("resettile", ConResetTile); - IConsoleCmdRegister("stopall", ConStopAllVehicles); IConsoleAliasRegister("dbg_echo", "echo %A; echo %B"); IConsoleAliasRegister("dbg_echo2", "echo %!"); } |