diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-08-24 23:05:15 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-16 14:13:44 +0100 |
commit | 48f84cc3e9204d8481aab32a3c51da5f29fd4306 (patch) | |
tree | 40562005a66d6114c6f25d5d1bbd6540226f9312 /src/Mobs/Monster.h | |
parent | Fixed some markdown. (diff) | |
download | cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.tar cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.tar.gz cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.tar.bz2 cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.tar.lz cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.tar.xz cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.tar.zst cuberite-48f84cc3e9204d8481aab32a3c51da5f29fd4306.zip |
Diffstat (limited to '')
-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); |