Quick fix for RoF2 discs showing in song window

This is just a hack until someone does a proper solution
This commit is contained in:
Michael Cook (mackal) 2015-04-02 13:42:47 -04:00
parent 8bd22e8c38
commit b3efd8a817

View File

@ -513,6 +513,11 @@ namespace RoF2
{ {
buffslot += 17; buffslot += 17;
} }
// TODO: We should really just deal with these "server side"
// so we can have clients not limited to other clients.
// This fixes discs, songs were changed to 20
if (buffslot == 54)
buffslot = 62;
__packet->WriteUInt32(buffslot); __packet->WriteUInt32(buffslot);
__packet->WriteUInt32(emu->entries[i].spell_id); __packet->WriteUInt32(emu->entries[i].spell_id);