diff options
author | worktycho <work.tycho@gmail.com> | 2015-11-17 11:35:03 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-11-17 11:35:03 +0100 |
commit | 3955742e2f3f8c18a31364ed55515cc77efc7604 (patch) | |
tree | 40562005a66d6114c6f25d5d1bbd6540226f9312 /src/Mobs/Monster.h | |
parent | Fixed some markdown. (diff) | |
parent | changed mob age from char to int (diff) | |
download | cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.tar cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.tar.gz cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.tar.bz2 cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.tar.lz cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.tar.xz cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.tar.zst cuberite-3955742e2f3f8c18a31364ed55515cc77efc7604.zip |
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 22280110c..963ac9148 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -117,8 +117,8 @@ public: // 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; } + int GetAge (void) const { return m_Age; } + void SetAge(int a_Age) { m_Age = a_Age; } // tolua_end @@ -279,7 +279,7 @@ protected: bool m_BurnsInDaylight; double m_RelativeWalkSpeed; - char m_Age; + int m_Age; /** Adds a random number of a_Item between a_Min and a_Max to itemdrops a_Drops */ void AddRandomDropItem(cItems & a_Drops, unsigned int a_Min, unsigned int a_Max, short a_Item, short a_ItemHealth = 0); |