summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Skeleton.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-18 01:26:27 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-18 01:26:27 +0200
commit33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5 (patch)
tree4b2d6dd6e97a3822d6f0866ba3a3f3d49f50d6ca /src/Mobs/Skeleton.cpp
parentFixed NULL being passed instead of a double to AddEntityEffect (diff)
downloadcuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.tar
cuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.tar.gz
cuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.tar.bz2
cuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.tar.lz
cuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.tar.xz
cuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.tar.zst
cuberite-33bd78dcdd1f080ef5d3b47b0e24099227a8a5d5.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Skeleton.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Mobs/Skeleton.cpp b/src/Mobs/Skeleton.cpp
index 0641a3d57..2f57bedeb 100644
--- a/src/Mobs/Skeleton.cpp
+++ b/src/Mobs/Skeleton.cpp
@@ -4,6 +4,7 @@
#include "Skeleton.h"
#include "../World.h"
#include "../Entities/ArrowEntity.h"
+#include "ClientHandle.h"
@@ -90,3 +91,17 @@ void cSkeleton::Attack(float a_Dt)
m_AttackInterval = 0.0;
}
}
+
+
+
+
+
+void cSkeleton::SpawnOn(cClientHandle & a_ClientHandle)
+{
+ super::SpawnOn(a_ClientHandle);
+ a_ClientHandle.SendEntityEquipment(*this, 0, cItem(E_ITEM_BOW));
+}
+
+
+
+