2012-10-19 18:30:46 +00:00
|
|
|
|
|
|
|
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
|
|
|
|
|
|
|
|
|
#include "Villager.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cVillager::cVillager()
|
|
|
|
|
{
|
|
|
|
|
m_MobType = 120;
|
|
|
|
|
GetMonsterConfig("Villager");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-21 11:04:08 +00:00
|
|
|
bool cVillager::IsA(const char * a_EntityType)
|
2012-10-19 18:30:46 +00:00
|
|
|
{
|
2012-12-21 11:04:08 +00:00
|
|
|
return ((strcmp(a_EntityType, "cVillager") == 0) || super::IsA(a_EntityType));
|
2012-10-19 18:30:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|