diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-30 08:09:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 08:09:41 +0200 |
commit | bd6b90359c654f4c75964755e476a8bfd90114ba (patch) | |
tree | 2c3322587dfd845efc1332feed6708b9f02a9f69 /src/game.cpp | |
parent | 43f9e948a128606ba4d446b79999ca8718b4456a (diff) | |
download | minetest-bd6b90359c654f4c75964755e476a8bfd90114ba.tar.gz minetest-bd6b90359c654f4c75964755e476a8bfd90114ba.tar.bz2 minetest-bd6b90359c654f4c75964755e476a8bfd90114ba.zip |
Remove DSTACK support (#6346)
Debugstacks is not useful, we don't really use it, the DebugStack is not pertinent, gdb and lldb are better if we really want to debug.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game.cpp b/src/game.cpp index 8a2ca00a2..8141710ff 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1099,8 +1099,6 @@ void KeyCache::populate() key[KeyType::QUICKTUNE_INC] = getKeySetting("keymap_quicktune_inc"); key[KeyType::QUICKTUNE_DEC] = getKeySetting("keymap_quicktune_dec"); - key[KeyType::DEBUG_STACKS] = getKeySetting("keymap_print_debug_stacks"); - for (int i = 0; i < 23; i++) { std::string slot_key_name = "keymap_slot" + std::to_string(i + 1); key[KeyType::SLOT_1 + i] = getKeySetting(slot_key_name.c_str()); @@ -2609,14 +2607,6 @@ void Game::processKeyInput() quicktune->inc(); } else if (wasKeyDown(KeyType::QUICKTUNE_DEC)) { quicktune->dec(); - } else if (wasKeyDown(KeyType::DEBUG_STACKS)) { - // Print debug stacks - dstream << "-----------------------------------------" - << std::endl; - dstream << "Printing debug stacks:" << std::endl; - dstream << "-----------------------------------------" - << std::endl; - debug_stacks_print(); } if (!isKeyDown(KeyType::JUMP) && runData.reset_jump_timer) { |