summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-04-26 17:37:35 +0200
committerHowaner <franzi.moos@googlemail.com>2014-04-26 17:37:35 +0200
commit619592b5a0ab651e714d55932bc7909e4204cee9 (patch)
treec9d67cb8336f9d47b643fc1ee7c4d3248a8d15f4 /src/Mobs/Wither.h
parentFixes (diff)
downloadcuberite-619592b5a0ab651e714d55932bc7909e4204cee9.tar
cuberite-619592b5a0ab651e714d55932bc7909e4204cee9.tar.gz
cuberite-619592b5a0ab651e714d55932bc7909e4204cee9.tar.bz2
cuberite-619592b5a0ab651e714d55932bc7909e4204cee9.tar.lz
cuberite-619592b5a0ab651e714d55932bc7909e4204cee9.tar.xz
cuberite-619592b5a0ab651e714d55932bc7909e4204cee9.tar.zst
cuberite-619592b5a0ab651e714d55932bc7909e4204cee9.zip
Diffstat (limited to 'src/Mobs/Wither.h')
-rw-r--r--src/Mobs/Wither.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h
index 08b460009..81c9df1b1 100644
--- a/src/Mobs/Wither.h
+++ b/src/Mobs/Wither.h
@@ -17,10 +17,6 @@ public:
CLASS_PROTODEF(cWither);
- unsigned int GetWitherInvulnerableTicks(void) const { return m_WitherInvulnerableTicks; }
-
- void SetWitherInvulnerableTicks(unsigned int a_Ticks) { m_WitherInvulnerableTicks = a_Ticks; }
-
/** Returns whether the wither is invulnerable to arrows. */
bool IsArmored(void) const;
@@ -32,8 +28,7 @@ public:
private:
- /** The number of ticks of invulnerability left after being initially created. Zero once invulnerability has expired. */
- unsigned int m_WitherInvulnerableTicks;
+ bool m_IsSpawnInvulnerable;
} ;