From 3380c482c0905e81c7c79b9b6455a8776c597dd9 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 23 Oct 2016 19:32:39 +0300 Subject: [PATCH] Fix errors remaining from merge with tes3mp-packetexpansion, part 2 --- apps/openmw-mp/Script/Functions/Items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Script/Functions/Items.cpp b/apps/openmw-mp/Script/Functions/Items.cpp index 50e581147..593d953c7 100644 --- a/apps/openmw-mp/Script/Functions/Items.cpp +++ b/apps/openmw-mp/Script/Functions/Items.cpp @@ -123,7 +123,7 @@ void ItemFunctions::SendInventory(unsigned short pid) noexcept Player *player; GET_PLAYER(pid, player, ); std::swap(player->inventory, player->inventorySendBuffer); - mwmp::Networking::Get().GetController()->GetPacket(ID_GAME_INVENTORY)->Send(player, false); + mwmp::Networking::Get().GetPlayerController()->GetPacket(ID_GAME_INVENTORY)->Send(player, false); player->inventory = std::move(player->inventorySendBuffer); player->inventorySendBuffer.items.clear(); }