]> git.lizzy.rs Git - minetest.git/commitdiff
Remove an unused method and header includes
authorsfan5 <sfan5@live.de>
Tue, 28 Jun 2022 10:11:06 +0000 (12:11 +0200)
committersfan5 <sfan5@live.de>
Tue, 28 Jun 2022 10:21:12 +0000 (12:21 +0200)
src/client/content_cao.cpp
src/client/content_cao.h

index c0fc4ccdf90b2dde1d7d4eb9275778fc9db4b991..32c1bb4a8e33354678d88e765b6e0571ef4af82f 100644 (file)
@@ -38,9 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "map.h"
 #include "mesh.h"
 #include "nodedef.h"
-#include "serialization.h" // For decompressZlib
 #include "settings.h"
-#include "sound.h"
 #include "tool.h"
 #include "wieldmesh.h"
 #include <algorithm>
index 2162816c54c9486615e28929957ca9f8792fba68..5a8116c712b3ea50601f403f750af289d4fa546f 100644 (file)
@@ -164,11 +164,6 @@ class GenericCAO : public ClientActiveObject
 
        const v3f getPosition() const;
 
-       void setPosition(const v3f &pos)
-       {
-               pos_translator.val_current = pos;
-       }
-
        inline const v3f &getRotation() const { return m_rotation; }
 
        bool isImmortal() const;