summaryrefslogtreecommitdiffstats
path: root/source/Mobs
diff options
context:
space:
mode:
authorSTRWarrior <q1w2e3r4>2013-09-18 12:06:03 +0200
committerSTRWarrior <q1w2e3r4>2013-09-18 12:06:03 +0200
commitf31436d5ca4f486ef7814acbd7a0b5773731544a (patch)
tree74b03015bf8b48bbdcf66a93b89bdf2709c9b075 /source/Mobs
parentAPIDump: Small cRoot improvement. (diff)
parentMerge pull request #176 from tigerw/bugfixes (diff)
downloadcuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.tar
cuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.tar.gz
cuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.tar.bz2
cuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.tar.lz
cuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.tar.xz
cuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.tar.zst
cuberite-f31436d5ca4f486ef7814acbd7a0b5773731544a.zip
Diffstat (limited to 'source/Mobs')
-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;