summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wither.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/Wither.cpp (renamed from src/Mobs/NewWither.cpp)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/NewWither.cpp b/src/Mobs/Wither.cpp
index c4f26f1da..bda216c5b 100644
--- a/src/Mobs/NewWither.cpp
+++ b/src/Mobs/Wither.cpp
@@ -1,7 +1,7 @@
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
-#include "NewWither.h"
+#include "Wither.h"
#include "../World.h"
#include "../Entities/Player.h"
@@ -10,7 +10,7 @@
-cNewWither::cNewWither(void) :
+cWither::cWither(void) :
super("Wither", mtWither, "mob.wither.hurt", "mob.wither.death", 0.9, 4.0)
{
SetMaxHealth(300);
@@ -20,7 +20,7 @@ cNewWither::cNewWither(void) :
-bool cNewWither::Initialize(cWorld & a_World)
+bool cWither::Initialize(cWorld & a_World)
{
// Set health before BroadcastSpawnEntity()
SetHealth(GetMaxHealth() / 3);
@@ -32,7 +32,7 @@ bool cNewWither::Initialize(cWorld & a_World)
-void cNewWither::GetDrops(cItems & a_Drops, cEntity * a_Killer)
+void cWither::GetDrops(cItems & a_Drops, cEntity * a_Killer)
{
AddRandomDropItem(a_Drops, 1, 1, E_ITEM_NETHER_STAR);
}