diff options
| author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-07-28 16:47:27 +0200 |
|---|---|---|
| committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-07-28 16:47:27 +0200 |
| commit | 85574cb53c44610b230cb7ae69a5cc0b17bcf2f0 (patch) | |
| tree | dc3be4950e1fb44f2a2c082e238333adf2808537 /src/client/content_cao.cpp | |
| parent | f7a042223f9c82c7764c0df3a3531bda04e9ad64 (diff) | |
| download | dragonfireclient-85574cb53c44610b230cb7ae69a5cc0b17bcf2f0.tar.xz | |
Improved Freecam
Diffstat (limited to 'src/client/content_cao.cpp')
| -rw-r--r-- | src/client/content_cao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 5f60c3375..2a3225b7a 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -943,7 +943,7 @@ void GenericCAO::updateNodePos() void GenericCAO::step(float dtime, ClientEnvironment *env) { // Handle model animations and update positions instantly to prevent lags - if (m_is_local_player) { + if (m_is_local_player && ! g_settings->getBool("freecam")) { LocalPlayer *player = m_env->getLocalPlayer(); m_position = player->getPosition(); pos_translator.val_current = m_position; |
