From a3e2ab4d4efd4b5f5d80931f50e8576c757a8f27 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 19 Nov 2017 04:24:54 +0200 Subject: [PATCH] [Server] Send correct packet for inventory changes --- apps/openmw-mp/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Player.cpp b/apps/openmw-mp/Player.cpp index cda59e711..9752e4984 100644 --- a/apps/openmw-mp/Player.cpp +++ b/apps/openmw-mp/Player.cpp @@ -185,7 +185,7 @@ void Player::update() if (inventory.inventoryChangeType() != 0) { - auto packet = plPCtrl->GetPacket(ID_PLAYER_EQUIPMENT); + auto packet = plPCtrl->GetPacket(ID_PLAYER_INVENTORY); packet->setPlayer(this); packet->Send(/*toOthers*/ false); inventory.resetInventoryFlag();