diff options
Diffstat (limited to 'src/clientenvironment.h')
-rw-r--r-- | src/clientenvironment.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/clientenvironment.h b/src/clientenvironment.h index 12070afec..606070e3a 100644 --- a/src/clientenvironment.h +++ b/src/clientenvironment.h @@ -42,8 +42,7 @@ class LocalPlayer; enum ClientEnvEventType { CEE_NONE, - CEE_PLAYER_DAMAGE, - CEE_PLAYER_BREATH + CEE_PLAYER_DAMAGE }; struct ClientEnvEvent @@ -56,9 +55,6 @@ struct ClientEnvEvent u8 amount; bool send_to_server; } player_damage; - struct{ - u16 amount; - } player_breath; }; }; @@ -113,7 +109,6 @@ public: */ void damageLocalPlayer(u8 damage, bool handle_hp=true); - void updateLocalPlayerBreath(u16 breath); /* Client likes to call these @@ -151,9 +146,6 @@ private: std::vector<ClientSimpleObject*> m_simple_objects; std::queue<ClientEnvEvent> m_client_event_queue; IntervalLimiter m_active_object_light_update_interval; - IntervalLimiter m_lava_hurt_interval; - IntervalLimiter m_drowning_interval; - IntervalLimiter m_breathing_interval; std::list<std::string> m_player_names; v3s16 m_camera_offset; }; |