Switch NUMHIT_ enum to a strongly typed enum

This commit is contained in:
Michael Cook (mackal) committed 2015-01-17 16:18:09 -05:00
1 parent 7547d7610f
commit f9a7da61b8
7 files changed
+46 -42

No files matched your search

+1 -1
View File
@@ -282,7 +282,7 @@ public:
int16 GetBuffSlotFromType(uint16 type);
uint16 GetSpellIDFromSlot(uint8 slot);
int CountDispellableBuffs();
void CheckNumHitsRemaining(uint8 type, int32 buff_slot=-1, uint16 spell_id=SPELL_UNKNOWN);
void CheckNumHitsRemaining(NumHit type, int32 buff_slot = -1, uint16 spell_id = SPELL_UNKNOWN);
bool HasNumhits() const { return has_numhits; }
inline void Numhits(bool val) { has_numhits = val; }
bool HasMGB() const { return has_MGB; }