From 68727751ed1fd19dc0f8e7c3f883df7d95268fb2 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 20 Jan 2017 12:54:03 +0200 Subject: [PATCH] Fix arguments for OnPlayerChangeSpellbook in server Networking --- apps/openmw-mp/Networking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Networking.cpp b/apps/openmw-mp/Networking.cpp index bf1e1e8de..97c22b7a2 100644 --- a/apps/openmw-mp/Networking.cpp +++ b/apps/openmw-mp/Networking.cpp @@ -237,7 +237,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet) DEBUG_PRINTF("ID_GAME_SPELLBOOK\n"); myPacket->Read(player); - Script::Call(player->getId(), player->packetSpells.action); + Script::Call(player->getId(), player->spellbookChanges.action); break; }