aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;