aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorThomasMonroe314 <ThomasMonroe@protonmail.com>2018-01-29 11:21:49 -0600
committersfan5 <sfan5@live.de>2018-02-08 15:40:16 +0100
commit501f936b37046ab469844c5349054369de3e7fc6 (patch)
tree406b5a010d23263b12bd7e2b1d390f3b22b5118c /src/client
parente87b410a33639bffe69725ed3ea5d85e45280815 (diff)
downloadminetest-501f936b37046ab469844c5349054369de3e7fc6.tar.gz
minetest-501f936b37046ab469844c5349054369de3e7fc6.tar.bz2
minetest-501f936b37046ab469844c5349054369de3e7fc6.zip
Switch F3 to use 'enable_fog' setting
Diffstat (limited to 'src/client')
-rw-r--r--src/client/inputhandler.cpp2
-rw-r--r--src/client/keys.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/inputhandler.cpp b/src/client/inputhandler.cpp
index 95d9fef71..e465c018a 100644
--- a/src/client/inputhandler.cpp
+++ b/src/client/inputhandler.cpp
@@ -58,7 +58,7 @@ void KeyCache::populate()
key[KeyType::SCREENSHOT] = getKeySetting("keymap_screenshot");
key[KeyType::TOGGLE_HUD] = getKeySetting("keymap_toggle_hud");
key[KeyType::TOGGLE_CHAT] = getKeySetting("keymap_toggle_chat");
- key[KeyType::TOGGLE_FORCE_FOG_OFF] = getKeySetting("keymap_toggle_force_fog_off");
+ key[KeyType::TOGGLE_FOG] = getKeySetting("keymap_toggle_fog");
key[KeyType::TOGGLE_UPDATE_CAMERA] = getKeySetting("keymap_toggle_update_camera");
key[KeyType::TOGGLE_DEBUG] = getKeySetting("keymap_toggle_debug");
key[KeyType::TOGGLE_PROFILER] = getKeySetting("keymap_toggle_profiler");
diff --git a/src/client/keys.h b/src/client/keys.h
index 9b8e50358..e7ef5f456 100644
--- a/src/client/keys.h
+++ b/src/client/keys.h
@@ -58,7 +58,7 @@ public:
SCREENSHOT,
TOGGLE_HUD,
TOGGLE_CHAT,
- TOGGLE_FORCE_FOG_OFF,
+ TOGGLE_FOG,
TOGGLE_UPDATE_CAMERA,
TOGGLE_DEBUG,
TOGGLE_PROFILER,