diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-16 23:22:42 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-16 23:22:42 +0200 |
commit | 4b99a5bd49f2756f927e173f9c41c48cb4cb553a (patch) | |
tree | 7e9ce8ee6bf8f6eca7f2f4aec2c3abc0dc906a5e /src/Mobs/Monster.h | |
parent | Merge pull request #2360 from bibo38/waterfix (diff) | |
parent | Spawn baby mobs (diff) | |
download | cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.gz cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.bz2 cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.lz cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.xz cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.tar.zst cuberite-4b99a5bd49f2756f927e173f9c41c48cb4cb553a.zip |
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 2832a1570..d5de3b19e 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -115,9 +115,11 @@ public: virtual bool IsTame (void) const { return false; } virtual bool IsSitting (void) const { return false; } + // tolua_begin bool IsBaby (void) const { return m_Age < 0; } char GetAge (void) const { return m_Age; } void SetAge(char a_Age) { m_Age = a_Age; } + // tolua_end // tolua_begin |