Fix for numhits counter not working where buffslot was 0 in some situations.

This commit is contained in:
KayenEQ committed 2014-11-23 22:06:15 -05:00
1 parent 5c0fbac7b0
commit 3ca282abfa
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ public:
int16 GetBuffSlotFromType(uint16 type);
uint16 GetSpellIDFromSlot(uint8 slot);
int CountDispellableBuffs();
void CheckNumHitsRemaining(uint8 type, uint32 buff_slot=0, uint16 spell_id=SPELL_UNKNOWN);
void CheckNumHitsRemaining(uint8 type, uint32 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; }