diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-05 18:43:49 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-05 18:43:49 +0100 |
commit | 8ba6f731699465aa13818e307af7b9f001d3767e (patch) | |
tree | bb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Mobs/Monster.cpp | |
parent | Fix gcc not having operator ++ on enums (diff) | |
download | cuberite-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 'src/Mobs/Monster.cpp')
-rw-r--r-- | src/Mobs/Monster.cpp | 8 |
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()) { |