summaryrefslogtreecommitdiffstats
path: root/src/Mobs/NewHorse.cpp
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-08-21 16:26:42 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-08-21 16:26:42 +0200
commit778b933e0078b740093ab9d83eddef702011791a (patch)
treeac1b610b0704f5c6bbd84c83d68a73d8cb01d2b7 /src/Mobs/NewHorse.cpp
parentRemoved references to the new mob code in preparation to renaming it. (diff)
downloadcuberite-778b933e0078b740093ab9d83eddef702011791a.tar
cuberite-778b933e0078b740093ab9d83eddef702011791a.tar.gz
cuberite-778b933e0078b740093ab9d83eddef702011791a.tar.bz2
cuberite-778b933e0078b740093ab9d83eddef702011791a.tar.lz
cuberite-778b933e0078b740093ab9d83eddef702011791a.tar.xz
cuberite-778b933e0078b740093ab9d83eddef702011791a.tar.zst
cuberite-778b933e0078b740093ab9d83eddef702011791a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Horse.cpp (renamed from src/Mobs/NewHorse.cpp)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/NewHorse.cpp b/src/Mobs/Horse.cpp
index 2d02aeed2..48bd9fef5 100644
--- a/src/Mobs/NewHorse.cpp
+++ b/src/Mobs/Horse.cpp
@@ -1,6 +1,6 @@
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
-#include "NewHorse.h"
+#include "Horse.h"
#include "../World.h"
#include "../Entities/Player.h"
@@ -8,7 +8,7 @@
-cNewHorse::cNewHorse(int Type, int Color, int Style, int TameTimes) :
+cHorse::cHorse(int Type, int Color, int Style, int TameTimes) :
super("Horse", mtHorse, "mob.horse.hit", "mob.horse.death", 1.4, 1.6),
m_bHasChest(false),
m_bIsEating(false),
@@ -30,7 +30,7 @@ cNewHorse::cNewHorse(int Type, int Color, int Style, int TameTimes) :
-void cNewHorse::Tick(float a_Dt, cChunk & a_Chunk)
+void cHorse::Tick(float a_Dt, cChunk & a_Chunk)
{
super::Tick(a_Dt, a_Chunk);
@@ -90,7 +90,7 @@ void cNewHorse::Tick(float a_Dt, cChunk & a_Chunk)
-void cNewHorse::GetDrops(cItems & a_Drops, cEntity * a_Killer)
+void cHorse::GetDrops(cItems & a_Drops, cEntity * a_Killer)
{
int LootingLevel = 0;
if (a_Killer != NULL)