Fix arguments for OnPlayerChangeSpellbook in server Networking

coverity_scan^2
David Cernat 8 years ago
parent 869b32383e
commit 68727751ed

@ -237,7 +237,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
DEBUG_PRINTF("ID_GAME_SPELLBOOK\n");
myPacket->Read(player);
Script::Call<Script::CallbackIdentity("OnPlayerChangeSpellbook")>(player->getId(), player->packetSpells.action);
Script::Call<Script::CallbackIdentity("OnPlayerChangeSpellbook")>(player->getId(), player->spellbookChanges.action);
break;
}

Loading…
Cancel
Save