Attempt to fix disc issue when client has no buff but server still does

This is kind of hard to test, but it is what the client is doing
This commit is contained in:
Michael Cook (mackal)
2017-12-15 18:42:21 -05:00
parent 477ba3f4b9
commit 9af9deb0f5
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -352,6 +352,7 @@ public:
virtual int GetMaxSongSlots() const { return 0; }
virtual int GetMaxDiscSlots() const { return 0; }
virtual int GetMaxTotalSlots() const { return 0; }
bool HasDiscBuff();
virtual uint32 GetFirstBuffSlot(bool disc, bool song);
virtual uint32 GetLastBuffSlot(bool disc, bool song);
virtual void InitializeBuffSlots() { buffs = nullptr; current_buff_count = 0; }