Browse Source

Remove an unused method and header includes

sfan5 1 year ago
parent
commit
a5f385917d
2 changed files with 0 additions and 7 deletions
  1. 0 2
      src/client/content_cao.cpp
  2. 0 5
      src/client/content_cao.h

+ 0 - 2
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>

+ 0 - 5
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;