summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Ocelot.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Mobs/Ocelot.cpp21
1 files changed, 2 insertions, 19 deletions
diff --git a/source/Mobs/Ocelot.cpp b/source/Mobs/Ocelot.cpp
index ec50a9656..374161bde 100644
--- a/source/Mobs/Ocelot.cpp
+++ b/source/Mobs/Ocelot.cpp
@@ -17,29 +17,12 @@ cOcelot::cOcelot()
-cOcelot::~cOcelot()
+bool cOcelot::IsA(const char * a_EntityType)
{
+ return ((strcmp(a_EntityType, "cOcelot") == 0) || super::IsA(a_EntityType));
}
-bool cOcelot::IsA( const char* a_EntityType )
-{
- if( strcmp( a_EntityType, "cOcelot" ) == 0 ) return true;
- return cMonster::IsA( a_EntityType );
-}
-
-
-
-
-
-void cOcelot::KilledBy( cEntity* a_Killer )
-{
- cMonster::KilledBy( a_Killer );
-}
-
-
-
-