1
0

Changed return type from GetPrimaryPotion() and GetSecondaryPotion()

This commit is contained in:
Howaner 2014-07-30 22:22:06 +02:00
parent 81e095adda
commit ad4fa6eba8

View File

@ -49,8 +49,8 @@ public:
/** Returns the beacon level. (0 - 4) */ /** Returns the beacon level. (0 - 4) */
char GetBeaconLevel(void) const { return m_BeaconLevel; } char GetBeaconLevel(void) const { return m_BeaconLevel; }
char GetPrimaryPotion(void) const { return m_PrimaryPotion; } cEntityEffect::eType GetPrimaryPotion(void) const { return m_PrimaryPotion; }
char GetSecondaryPotion(void) const { return m_SecondaryPotion; } cEntityEffect::eType GetSecondaryPotion(void) const { return m_SecondaryPotion; }
/** Select the primary potion. Returns false when the potion is invalid.*/ /** Select the primary potion. Returns false when the potion is invalid.*/
bool SelectPrimaryPotion(cEntityEffect::eType a_Potion); bool SelectPrimaryPotion(cEntityEffect::eType a_Potion);