summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-22 13:59:34 +0200
committerarchshift <admin@archshift.com>2014-04-22 13:59:34 +0200
commitbca7f2949032ab90ee03988f560bce157a25b683 (patch)
treef77522ac059ade62d9b0b66ff6c3b7e2b64572e4 /src/Entities/Entity.h
parentAdded prefab hitboxes. (diff)
downloadcuberite-bca7f2949032ab90ee03988f560bce157a25b683.tar
cuberite-bca7f2949032ab90ee03988f560bce157a25b683.tar.gz
cuberite-bca7f2949032ab90ee03988f560bce157a25b683.tar.bz2
cuberite-bca7f2949032ab90ee03988f560bce157a25b683.tar.lz
cuberite-bca7f2949032ab90ee03988f560bce157a25b683.tar.xz
cuberite-bca7f2949032ab90ee03988f560bce157a25b683.tar.zst
cuberite-bca7f2949032ab90ee03988f560bce157a25b683.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 8f3899e2f..ea85ac683 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -435,6 +435,9 @@ protected:
cWorld * m_World;
+ /// Whether the entity is capable of taking fire or lava damage.
+ bool m_Fireproof;
+
/// Time, in ticks, since the last damage dealt by being on fire. Valid only if on fire (IsOnFire())
int m_TicksSinceLastBurnDamage;