Fix player rotations (#7941)
authorCoderForTheBetter <marcumjp@gmail.com>
Wed, 5 Dec 2018 08:28:09 +0000 (03:28 -0500)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Wed, 5 Dec 2018 08:28:09 +0000 (09:28 +0100)
src/content_sao.cpp

index 0b69e7bffaef2b469104d5f29b4d7820370be403..f7b193768d0ca886b8e9642223ff91c1b9d6ee9f 100644 (file)
@@ -1091,7 +1091,7 @@ void PlayerSAO::step(float dtime, bool send_recommended)
                        pos,
                        v3f(0.0f, 0.0f, 0.0f),
                        v3f(0.0f, 0.0f, 0.0f),
-                       v3f(0.0f, 0.0f, 0.0f),
+                       m_rotation,
                        true,
                        false,
                        update_interval