From aebe130299a3c3d14a0d89e68195c303ca120c1b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 22 Dec 2012 09:39:13 +0000 Subject: Reduced most mobs' constructors to oneliners by passing parameters to superclasses git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Mobs/Slime.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source/Mobs/Slime.cpp') diff --git a/source/Mobs/Slime.cpp b/source/Mobs/Slime.cpp index c95915215..ee7093b73 100644 --- a/source/Mobs/Slime.cpp +++ b/source/Mobs/Slime.cpp @@ -9,12 +9,9 @@ -cSlime::cSlime(void) +cSlime::cSlime(void) : + super("Slime", 55, "mob.slime.attack", "mob.slime.attack") { - m_MobType = 55; - m_SoundHurt = "mob.slime.attack"; - m_SoundDeath = "mob.slime.attack"; - GetMonsterConfig("Slime"); } -- cgit v1.2.3