From a5f385917d0db5097e3cd4a1c6de794bda20c01f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 28 Jun 2022 12:11:06 +0200 Subject: [PATCH] Remove an unused method and header includes --- src/client/content_cao.cpp | 2 -- src/client/content_cao.h | 5 ----- 2 files changed, 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 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;