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/Ocelot.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/Mobs/Ocelot.h') diff --git a/source/Mobs/Ocelot.h b/source/Mobs/Ocelot.h index acda6a1e6..76ee6815e 100644 --- a/source/Mobs/Ocelot.h +++ b/source/Mobs/Ocelot.h @@ -13,7 +13,10 @@ class cOcelot : typedef cPassiveMonster super; public: - cOcelot(); + cOcelot(void) : + super("Ocelot", 98, "mob.cat.hitt", "mob.cat.hitt") + { + } CLASS_PROTODEF(cOcelot); } ; -- cgit v1.2.3