diff options
author | Mattes D <github@xoft.cz> | 2014-04-22 15:04:04 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-22 15:04:04 +0200 |
commit | b3a9b73278b0fc8a885d7f415d13845c7ffc063a (patch) | |
tree | b0419d9ba01fd65ff30810c1840df14523414832 /src/Entities/Entity.h | |
parent | Revert moving gcc to g++11 in 18c3b1 (diff) | |
parent | Fixed indentation and changed m_Fireproof to m_IsFireproof. (diff) | |
download | cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.tar cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.tar.gz cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.tar.bz2 cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.tar.lz cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.tar.xz cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.tar.zst cuberite-b3a9b73278b0fc8a885d7f415d13845c7ffc063a.zip |
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 8f3899e2f..84a2003d4 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_IsFireproof; + /// Time, in ticks, since the last damage dealt by being on fire. Valid only if on fire (IsOnFire()) int m_TicksSinceLastBurnDamage; |