diff options
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Villager.cpp | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/source/Mobs/Villager.cpp b/source/Mobs/Villager.cpp index 65b2ac5b5..0e6d364d7 100644 --- a/source/Mobs/Villager.cpp +++ b/source/Mobs/Villager.cpp @@ -17,27 +17,9 @@ cVillager::cVillager() -cVillager::~cVillager()
+bool cVillager::IsA(const char * a_EntityType)
{
-}
-
-
-
-
-
-bool cVillager::IsA( const char* a_EntityType )
-{
- if( strcmp( a_EntityType, "cVillager" ) == 0 ) return true;
- return cMonster::IsA( a_EntityType );
-}
-
-
-
-
-
-void cVillager::KilledBy( cEntity* a_Killer )
-{
- cMonster::KilledBy( a_Killer );
+ return ((strcmp(a_EntityType, "cVillager") == 0) || super::IsA(a_EntityType));
}
|