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
This commit is contained in:
@@ -7,12 +7,9 @@
|
||||
|
||||
|
||||
|
||||
cSkeleton::cSkeleton(void)
|
||||
cSkeleton::cSkeleton(void) :
|
||||
super("Skeleton", 51, "mob.skeleton.hurt", "mob.skeleton.death")
|
||||
{
|
||||
m_MobType = 51;
|
||||
m_SoundHurt = "mob.skeleton.hurt";
|
||||
m_SoundDeath = "mob.skeleton.death";
|
||||
GetMonsterConfig("Skeleton");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user