summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-04-15 09:25:43 +0200
committerGitHub <noreply@github.com>2017-04-15 09:25:43 +0200
commita9aad4d0616e798a8e61ac2a30dc31efd53b8c65 (patch)
tree73a9c207ad7557bcaa433cc8d6769ebbce0fba27 /src/content_sao.h
parentb1e6c2a9b8f10254c027fe227811fc300bae2048 (diff)
downloadminetest-a9aad4d0616e798a8e61ac2a30dc31efd53b8c65.tar.gz
minetest-a9aad4d0616e798a8e61ac2a30dc31efd53b8c65.tar.bz2
minetest-a9aad4d0616e798a8e61ac2a30dc31efd53b8c65.zip
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
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index 918830266..c1b01b6dd 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -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;