Fix for spell books on newer clients not playing well with the tricksy new deblob code

This commit is contained in:
KimLS
2014-09-23 13:39:05 -07:00
parent 7b85b09f24
commit 7cef4d8fe9
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1081,7 +1081,7 @@ ENCODE(OP_PlayerProfile)
// zeroes for the rest of the spellbook slots
for(uint32 r = 0; r < structs::MAX_PP_SPELLBOOK - MAX_PP_SPELLBOOK; r++)
{
outapp->WriteUInt32(0);
outapp->WriteUInt32(0xFFFFFFFFU);
}
outapp->WriteUInt32(structs::MAX_PP_MEMSPELL); // Memorised spell slots
@@ -1093,7 +1093,7 @@ ENCODE(OP_PlayerProfile)
// zeroes for the rest of the slots
for(uint32 r = 0; r < structs::MAX_PP_MEMSPELL - MAX_PP_MEMSPELL; r++)
{
outapp->WriteUInt32(0);
outapp->WriteUInt32(0xFFFFFFFFU);
}
outapp->WriteUInt32(13); // Unknown count