summaryrefslogtreecommitdiffstats
path: root/source/Mobs
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-09-17 22:57:14 +0200
committerMattes D <github@xoft.cz>2013-09-17 22:57:14 +0200
commit4c1f1cc5392ffce7f0e5b28897a713c6683d24d1 (patch)
tree914ec0b8bbad428a52357f8686284488bafcb793 /source/Mobs
parentDocumented cRoot. (diff)
parentSnow now supports meta values (diff)
downloadcuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.tar
cuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.tar.gz
cuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.tar.bz2
cuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.tar.lz
cuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.tar.xz
cuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.tar.zst
cuberite-4c1f1cc5392ffce7f0e5b28897a713c6683d24d1.zip
Diffstat (limited to '')
-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;