mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Remove an unused method and header includes
This commit is contained in:
parent
18fbc0394b
commit
a5f385917d
@ -38,9 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "map.h"
|
#include "map.h"
|
||||||
#include "mesh.h"
|
#include "mesh.h"
|
||||||
#include "nodedef.h"
|
#include "nodedef.h"
|
||||||
#include "serialization.h" // For decompressZlib
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "sound.h"
|
|
||||||
#include "tool.h"
|
#include "tool.h"
|
||||||
#include "wieldmesh.h"
|
#include "wieldmesh.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -164,11 +164,6 @@ public:
|
|||||||
|
|
||||||
const v3f getPosition() const;
|
const v3f getPosition() const;
|
||||||
|
|
||||||
void setPosition(const v3f &pos)
|
|
||||||
{
|
|
||||||
pos_translator.val_current = pos;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline const v3f &getRotation() const { return m_rotation; }
|
inline const v3f &getRotation() const { return m_rotation; }
|
||||||
|
|
||||||
bool isImmortal() const;
|
bool isImmortal() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user