summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
commit8ba6f731699465aa13818e307af7b9f001d3767e (patch)
treebb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Mobs/Monster.cpp
parentFix gcc not having operator ++ on enums (diff)
downloadcuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.gz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.bz2
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.lz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.xz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.zst
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 283ef36e6..1b9bfaa79 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -69,20 +69,20 @@ cMonster::cMonster(const AString & a_ConfigName, eType a_MobType, const AString
: super(etMonster, a_Width, a_Height)
, m_EMState(IDLE)
, m_EMPersonality(AGGRESSIVE)
- , m_SightDistance(25)
, m_Target(NULL)
- , m_AttackRate(3)
- , m_IdleInterval(0)
, m_bMovingToDestination(false)
+ , m_LastGroundHeight(POSY_TOINT)
+ , m_IdleInterval(0)
, m_DestroyTimer(0)
, m_MobType(a_MobType)
, m_SoundHurt(a_SoundHurt)
, m_SoundDeath(a_SoundDeath)
+ , m_AttackRate(3)
, m_AttackDamage(1)
, m_AttackRange(2)
, m_AttackInterval(0)
+ , m_SightDistance(25)
, m_BurnsInDaylight(false)
- , m_LastGroundHeight(POSY_TOINT)
{
if (!a_ConfigName.empty())
{