Skip to content
Permalink
Browse files

Only set the camera update keymap when using a debug build

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
  • Loading branch information...
rubenwardy authored and Zeno- committed Oct 17, 2014
1 parent 9aaf67e commit 8df8554fceeb2eec2103c0222c0a45124e1de7cc
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/defaultsettings.cpp
@@ -52,7 +52,12 @@ void set_default_settings(Settings *settings)
settings->setDefault("keymap_toggle_hud", "KEY_F1");
settings->setDefault("keymap_toggle_chat", "KEY_F2");
settings->setDefault("keymap_toggle_force_fog_off", "KEY_F3");
settings->setDefault("keymap_toggle_update_camera", "KEY_F4");
settings->setDefault("keymap_toggle_update_camera",
#if DEBUG
"KEY_F4");
#else
"none");
#endif
settings->setDefault("keymap_toggle_debug", "KEY_F5");
settings->setDefault("keymap_toggle_profiler", "KEY_F6");
settings->setDefault("keymap_camera_mode", "KEY_F7");

0 comments on commit 8df8554

Please sign in to comment.
You can’t perform that action at this time.