diff options
author | rubenwardy <rw@rubenwardy.com> | 2021-01-22 15:09:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 15:09:26 +0000 |
commit | 4c76239818f5159314f30883f98b977d30aaa26c (patch) | |
tree | 42d2fc37b1e5ed2ad1c450a5547fce2ddec75b65 /src/server | |
parent | 67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b (diff) | |
download | minetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.gz minetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.bz2 minetest-4c76239818f5159314f30883f98b977d30aaa26c.zip |
Remove dead code (#10845)
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/player_sao.h | 1 | ||||
-rw-r--r-- | src/server/serveractiveobject.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/server/player_sao.h b/src/server/player_sao.h index 6aee8d5aa..8e2d8803f 100644 --- a/src/server/player_sao.h +++ b/src/server/player_sao.h @@ -114,7 +114,6 @@ public: void rightClick(ServerActiveObject *clicker); void setHP(s32 hp, const PlayerHPChangeReason &reason); void setHPRaw(u16 hp) { m_hp = hp; } - s16 readDamage(); u16 getBreath() const { return m_breath; } void setBreath(const u16 breath, bool send = true); diff --git a/src/server/serveractiveobject.h b/src/server/serveractiveobject.h index 25653a1ad..51f445914 100644 --- a/src/server/serveractiveobject.h +++ b/src/server/serveractiveobject.h @@ -162,8 +162,6 @@ public: {} virtual const ItemGroupList &getArmorGroups() const { static ItemGroupList rv; return rv; } - virtual void setPhysicsOverride(float physics_override_speed, float physics_override_jump, float physics_override_gravity) - {} virtual void setAnimation(v2f frames, float frame_speed, float frame_blend, bool frame_loop) {} virtual void getAnimation(v2f *frames, float *frame_speed, float *frame_blend, bool *frame_loop) @@ -206,7 +204,6 @@ public: } std::string generateUpdateInfantCommand(u16 infant_id, u16 protocol_version); - std::string generateUpdateNametagAttributesCommand(const video::SColor &color) const; void dumpAOMessagesToQueue(std::queue<ActiveObjectMessage> &queue); |