summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Wither.h')
-rw-r--r--src/Mobs/Wither.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h
index 5f6ec607c..39a2d5020 100644
--- a/src/Mobs/Wither.h
+++ b/src/Mobs/Wither.h
@@ -1,16 +1,16 @@
#pragma once
-#include "AggressiveMonster.h"
-
+#include "Monster.h"
+#include "Behaviors/BehaviorDoNothing.h"
class cWither :
- public cAggressiveMonster
+ public cMonster
{
- typedef cAggressiveMonster super;
+ typedef cMonster super;
public:
cWither(void);
@@ -33,6 +33,7 @@ public:
virtual bool IsUndead(void) override { return true; }
private:
+ cBehaviorDoNothing m_BehaviorDoNothing;
/** The number of ticks of invulnerability left after being initially created. Zero once invulnerability has expired. */
unsigned int m_WitherInvulnerableTicks;