diff options
author | Seth Traverse <technotraverse@gmail.com> | 2021-04-20 10:23:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 19:23:31 +0200 |
commit | 16e5b39e1dbe503684effb11f4b87a641c3e43e6 (patch) | |
tree | 50d8ba701784ecb2d9d235bd97e20200cef1fb40 /src/defaultsettings.cpp | |
parent | 0077982fb78a8ed39a90da03c0898d12583fed64 (diff) | |
download | hax-minetest-server-16e5b39e1dbe503684effb11f4b87a641c3e43e6.tar.gz hax-minetest-server-16e5b39e1dbe503684effb11f4b87a641c3e43e6.zip |
Add a key to toggle map block bounds (#11172)
It's often useful to know where the map block boundaries are for doing server admin work and the like.
Adds three modes: single mapblock, range of 5, and disabled.
Diffstat (limited to '')
-rw-r--r-- | src/defaultsettings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 4ecf77c0e..871290944 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -97,6 +97,7 @@ void set_default_settings() settings->setDefault("keymap_increase_volume", ""); settings->setDefault("keymap_decrease_volume", ""); settings->setDefault("keymap_cinematic", ""); + settings->setDefault("keymap_toggle_block_bounds", ""); settings->setDefault("keymap_toggle_hud", "KEY_F1"); settings->setDefault("keymap_toggle_chat", "KEY_F2"); settings->setDefault("keymap_toggle_fog", "KEY_F3"); |