forked from Mirrorlandia_minetest/minetest
Only set quicktune keybinds in debug builds (#12779)
This commit is contained in:
parent
1e96403954
commit
be5c675263
@ -146,11 +146,18 @@ void set_default_settings()
|
|||||||
settings->setDefault("keymap_slot31", "");
|
settings->setDefault("keymap_slot31", "");
|
||||||
settings->setDefault("keymap_slot32", "");
|
settings->setDefault("keymap_slot32", "");
|
||||||
|
|
||||||
// Some (temporary) keys for debugging
|
#ifndef NDEBUG
|
||||||
|
// Default keybinds for quicktune in debug builds
|
||||||
settings->setDefault("keymap_quicktune_prev", "KEY_HOME");
|
settings->setDefault("keymap_quicktune_prev", "KEY_HOME");
|
||||||
settings->setDefault("keymap_quicktune_next", "KEY_END");
|
settings->setDefault("keymap_quicktune_next", "KEY_END");
|
||||||
settings->setDefault("keymap_quicktune_dec", "KEY_NEXT");
|
settings->setDefault("keymap_quicktune_dec", "KEY_NEXT");
|
||||||
settings->setDefault("keymap_quicktune_inc", "KEY_PRIOR");
|
settings->setDefault("keymap_quicktune_inc", "KEY_PRIOR");
|
||||||
|
#else
|
||||||
|
settings->setDefault("keymap_quicktune_prev", "");
|
||||||
|
settings->setDefault("keymap_quicktune_next", "");
|
||||||
|
settings->setDefault("keymap_quicktune_dec", "");
|
||||||
|
settings->setDefault("keymap_quicktune_inc", "");
|
||||||
|
#endif
|
||||||
|
|
||||||
// Visuals
|
// Visuals
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user