aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-06-28 12:11:06 +0200
committersfan5 <sfan5@live.de>2022-06-28 12:21:12 +0200
commita5f385917d0db5097e3cd4a1c6de794bda20c01f (patch)
treec9a94eecf4f2fafcc5b0d09acff90d5a8d911671 /src/client
parent18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64 (diff)
downloadhax-minetest-server-a5f385917d0db5097e3cd4a1c6de794bda20c01f.tar.gz
hax-minetest-server-a5f385917d0db5097e3cd4a1c6de794bda20c01f.zip
Remove an unused method and header includes
Diffstat (limited to 'src/client')
-rw-r--r--src/client/content_cao.cpp2
-rw-r--r--src/client/content_cao.h5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp
index c0fc4ccdf..32c1bb4a8 100644
--- a/src/client/content_cao.cpp
+++ b/src/client/content_cao.cpp
@@ -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>
diff --git a/src/client/content_cao.h b/src/client/content_cao.h
index 2162816c5..5a8116c71 100644
--- a/src/client/content_cao.h
+++ b/src/client/content_cao.h
@@ -164,11 +164,6 @@ public:
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;