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

This commit is contained in:
KayenEQ
2014-11-23 22:06:15 -05:00
parent 5c0fbac7b0
commit 3ca282abfa
3 changed files with 5 additions and 5 deletions
+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; }