summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Creeper.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/Creeper.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Mobs/Creeper.cpp b/src/Mobs/Creeper.cpp
index adab8c5aa..c05076a1a 100644
--- a/src/Mobs/Creeper.cpp
+++ b/src/Mobs/Creeper.cpp
@@ -17,6 +17,7 @@ cCreeper::cCreeper(void) :
m_BurnedWithFlintAndSteel(false),
m_ExplodingTimer(0)
{
+ m_EMPersonality = AGGRESSIVE;
}
@@ -26,6 +27,8 @@ cCreeper::cCreeper(void) :
void cCreeper::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
super::Tick(a_Dt, a_Chunk);
+ /* mobTodo
+
if (!IsTicking())
{
// The base class tick destroyed us
@@ -53,7 +56,8 @@ void cCreeper::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
m_World->DoExplosionAt((m_bIsCharged ? 5 : 3), GetPosX(), GetPosY(), GetPosZ(), false, esMonster, this);
Destroy(); // Just in case we aren't killed by the explosion
}
- }
+ } */
+
}
@@ -120,7 +124,8 @@ bool cCreeper::DoTakeDamage(TakeDamageInfo & a_TDI)
-
+// mobTODO
+/*
bool cCreeper::Attack(std::chrono::milliseconds a_Dt)
{
UNUSED(a_Dt);
@@ -134,7 +139,7 @@ bool cCreeper::Attack(std::chrono::milliseconds a_Dt)
return true;
}
return false;
-}
+}*/