summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Monster.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-17 21:57:35 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-17 21:57:35 +0200
commitf2b7b220a4ed2f5aa2e87792aff99715e113eefa (patch)
tree79710829aec7b5d0166509e29c7eb9cf65f81f91 /source/Mobs/Monster.h
parentFixed derpy comparison (diff)
downloadcuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.tar
cuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.tar.gz
cuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.tar.bz2
cuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.tar.lz
cuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.tar.xz
cuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.tar.zst
cuberite-f2b7b220a4ed2f5aa2e87792aff99715e113eefa.zip
Diffstat (limited to 'source/Mobs/Monster.h')
-rw-r--r--source/Mobs/Monster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h
index 82fc4b6fc..484e32c65 100644
--- a/source/Mobs/Monster.h
+++ b/source/Mobs/Monster.h
@@ -110,7 +110,7 @@ public:
void SetSightDistance(float sd);
/// Sets whether the mob burns in daylight. Only evaluated at next burn-decision tick
- void SetBurnsInDaylight(bool a_BurnsInDaylight) { a_BurnsInDaylight = a_BurnsInDaylight; }
+ void SetBurnsInDaylight(bool a_BurnsInDaylight) { m_BurnsInDaylight = a_BurnsInDaylight; }
enum MState{ATTACKING, IDLE, CHASING, ESCAPING} m_EMState;
enum MPersonality{PASSIVE,AGGRESSIVE,COWARDLY} m_EMPersonality;