Tune caves
[oweals/minetest.git] / src / serverremoteplayer.h
index 9d943764619db4a4e8f56948ea216469ee1a8b41..2ff1b0013582189dae7c0f51b23e665dd06d82ab 100644 (file)
@@ -67,7 +67,10 @@ public:
        void step(float dtime, bool send_recommended);
        std::string getClientInitializationData();
        std::string getStaticData();
-       void punch(ServerActiveObject *puncher, float time_from_last_punch);
+       int punch(v3f dir,
+                       const ToolCapabilities *toolcap,
+                       ServerActiveObject *puncher,
+                       float time_from_last_punch);
        void rightClick(ServerActiveObject *clicker);
        void setPos(v3f pos);
        void moveTo(v3f pos, bool continuous);
@@ -90,7 +93,6 @@ public:
        int m_wield_index;
        bool m_inventory_not_sent;
        bool m_hp_not_sent;
-       bool m_respawn_active;
        bool m_is_in_environment;
        // Incremented by step(), read and reset by Server
        float m_time_from_last_punch;