Fixed class capitalization for the cave spider.
This commit is contained in:
parent
06819595b0
commit
8fc45c5730
@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
|
||||
cCavespider::cCavespider(void) :
|
||||
cCaveSpider::cCaveSpider(void) :
|
||||
super("CaveSpider", mtCaveSpider, "mob.spider.say", "mob.spider.death", 0.7, 0.5)
|
||||
{
|
||||
}
|
||||
@ -16,7 +16,7 @@ cCavespider::cCavespider(void) :
|
||||
|
||||
|
||||
|
||||
void cCavespider::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
void cCaveSpider::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
{
|
||||
super::Tick(a_Dt, a_Chunk);
|
||||
|
||||
@ -28,7 +28,7 @@ void cCavespider::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
|
||||
|
||||
|
||||
void cCavespider::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
||||
void cCaveSpider::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
||||
{
|
||||
int LootingLevel = 0;
|
||||
if (a_Killer != NULL)
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
|
||||
|
||||
class cCavespider :
|
||||
class cCaveSpider :
|
||||
public cAggressiveMonster
|
||||
{
|
||||
typedef cAggressiveMonster super;
|
||||
|
||||
public:
|
||||
cCavespider(void);
|
||||
cCaveSpider(void);
|
||||
|
||||
CLASS_PROTODEF(cCaveSpider);
|
||||
|
||||
|
@ -859,7 +859,7 @@ cMonster * cMonster::NewMonsterFromType(cMonster::eType a_MobType)
|
||||
|
||||
case mtBat: toReturn = new cBat(); break;
|
||||
case mtBlaze: toReturn = new cBlaze(); break;
|
||||
case mtCaveSpider: toReturn = new cCavespider(); break;
|
||||
case mtCaveSpider: toReturn = new cCaveSpider(); break;
|
||||
case mtChicken: toReturn = new cChicken(); break;
|
||||
case mtCow: toReturn = new cCow(); break;
|
||||
case mtCreeper: toReturn = new cCreeper(); break;
|
||||
|
@ -1757,7 +1757,7 @@ void cWSSAnvil::LoadBlazeFromNBT(cEntityList & a_Entities, const cParsedNBT & a_
|
||||
|
||||
void cWSSAnvil::LoadCaveSpiderFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx)
|
||||
{
|
||||
std::auto_ptr<cCavespider> Monster(new cCavespider());
|
||||
std::auto_ptr<cCaveSpider> Monster(new cCaveSpider());
|
||||
if (!LoadEntityBaseFromNBT(*Monster.get(), a_NBT, a_TagIdx))
|
||||
{
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user