summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorMuhammad Kaisar Arkhan <accounts@yukiisbo.red>2018-09-24 22:32:47 +0200
committerAlexander Harkness <me@bearbin.net>2018-09-24 22:32:47 +0200
commit73689024f0b480afb84eeb898b3c429237359cab (patch)
treea9565258f6881f0691f398dd25f9dc75850c44e2 /src/Mobs/Monster.h
parentForce all headers other than "Globals.h" to be included with relative paths (#4269) (diff)
downloadcuberite-73689024f0b480afb84eeb898b3c429237359cab.tar
cuberite-73689024f0b480afb84eeb898b3c429237359cab.tar.gz
cuberite-73689024f0b480afb84eeb898b3c429237359cab.tar.bz2
cuberite-73689024f0b480afb84eeb898b3c429237359cab.tar.lz
cuberite-73689024f0b480afb84eeb898b3c429237359cab.tar.xz
cuberite-73689024f0b480afb84eeb898b3c429237359cab.tar.zst
cuberite-73689024f0b480afb84eeb898b3c429237359cab.zip
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r--src/Mobs/Monster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index d6b02caac..11d49b82e 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -136,8 +136,8 @@ public:
void SetCanPickUpLoot(bool a_CanPickUpLoot) { m_CanPickUpLoot = a_CanPickUpLoot; }
void ResetAttackCooldown();
- /** Sets whether the mob burns in daylight. Only evaluated at next burn-decision tick */
- void SetBurnsInDaylight(bool a_BurnsInDaylight) { m_BurnsInDaylight = a_BurnsInDaylight; }
+ void SetBurnsInDaylight(bool a_BurnsInDaylight) { m_BurnsInDaylight = a_BurnsInDaylight; } // tolua_export
+ bool BurnsInDaylight() const { return m_BurnsInDaylight; } // tolua_export
double GetRelativeWalkSpeed(void) const { return m_RelativeWalkSpeed; } // tolua_export
void SetRelativeWalkSpeed(double a_WalkSpeed) { m_RelativeWalkSpeed = a_WalkSpeed; } // tolua_export