summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Pig.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-22 10:39:13 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-22 10:39:13 +0100
commitaebe130299a3c3d14a0d89e68195c303ca120c1b (patch)
tree7f4342e9556da307c1ebea5b802961c4f60f79d5 /source/Mobs/Pig.cpp
parentFixed linux compilation (diff)
downloadcuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar
cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.gz
cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.bz2
cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.lz
cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.xz
cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.zst
cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.zip
Diffstat (limited to 'source/Mobs/Pig.cpp')
-rw-r--r--source/Mobs/Pig.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/Mobs/Pig.cpp b/source/Mobs/Pig.cpp
index c75d0c0bf..15be0001f 100644
--- a/source/Mobs/Pig.cpp
+++ b/source/Mobs/Pig.cpp
@@ -7,12 +7,9 @@
-cPig::cPig(void)
+cPig::cPig(void) :
+ super("Pig", 90, "mob.pig.say", "mob.pig.death")
{
- m_MobType = 90;
- m_SoundHurt = "mob.pig.say";
- m_SoundDeath = "mob.pig.death";
- GetMonsterConfig("Pig");
}