summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Skeleton.cpp
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-10-14 17:42:43 +0200
committerSamuel Barney <samjbarney@gmail.com>2013-10-14 17:42:43 +0200
commit5df5176f8d1793b44c7e2353cb46ca0966be1bdd (patch)
tree95343394cd9902ceaf885f379342c593392e9c16 /source/Mobs/Skeleton.cpp
parentMobs no longer spawn up in the air. (diff)
parentAPIDump: Documented HOOK_HANDSHAKE. (diff)
downloadcuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.tar
cuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.tar.gz
cuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.tar.bz2
cuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.tar.lz
cuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.tar.xz
cuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.tar.zst
cuberite-5df5176f8d1793b44c7e2353cb46ca0966be1bdd.zip
Diffstat (limited to 'source/Mobs/Skeleton.cpp')
-rw-r--r--source/Mobs/Skeleton.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Mobs/Skeleton.cpp b/source/Mobs/Skeleton.cpp
index 10dad4065..6297b867c 100644
--- a/source/Mobs/Skeleton.cpp
+++ b/source/Mobs/Skeleton.cpp
@@ -8,8 +8,9 @@
-cSkeleton::cSkeleton(void) :
- super("Skeleton", 51, "mob.skeleton.hurt", "mob.skeleton.death", 0.6, 1.8)
+cSkeleton::cSkeleton(bool IsWither) :
+ super("Skeleton", 51, "mob.skeleton.hurt", "mob.skeleton.death", 0.6, 1.8),
+ m_bIsWither(IsWither)
{
SetBurnsInDaylight(true);
}