diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-07-18 20:01:17 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-07-18 20:01:17 +0200 |
commit | 5a8610c2f41e44c827912246b4f9437051d11621 (patch) | |
tree | 04fa785120501182e83c5b05515527bb0428aa63 /src/client/clientenvironment.cpp | |
parent | 83f59484d3b03e8964f1c7886dd1a0afd96ddd8d (diff) | |
download | dragonfireclient-5a8610c2f41e44c827912246b4f9437051d11621.tar.xz |
Added customizable keybindings, improved freecam, added special inventory keybind (by default ender inventory)
Diffstat (limited to 'src/client/clientenvironment.cpp')
-rw-r--r-- | src/client/clientenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/clientenvironment.cpp b/src/client/clientenvironment.cpp index 895b0193c..3f82bd316 100644 --- a/src/client/clientenvironment.cpp +++ b/src/client/clientenvironment.cpp @@ -220,7 +220,7 @@ void ClientEnvironment::step(float dtime) lplayer->applyControl(dtime_part, this); // Apply physics - if (!free_move && !is_climbing) { + if (!free_move && !is_climbing && ! g_settings->getBool("freecam")) { // Gravity v3f speed = lplayer->getSpeed(); if (!lplayer->in_liquid) |