1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-29 17:45:22 +01:00

Partial damage cheat fix: node damages server side (#4981)

* Damage cheat fix: server side

* Lava/Node damages overtime server side
* lava hurt interval is only for old protocol
This commit is contained in:
Loïc Blot
2017-04-15 09:25:43 +02:00
committed by GitHub
parent b1e6c2a9b8
commit a9aad4d061
3 changed files with 48 additions and 29 deletions

View File

@@ -375,6 +375,7 @@ private:
// Timers
IntervalLimiter m_breathing_interval;
IntervalLimiter m_drowning_interval;
IntervalLimiter m_node_hurt_interval;
int m_wield_index;
bool m_position_not_sent;