From 04c9c5ed488b3d2dd3c439c5c852f6b3f562f717 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 18 May 2017 12:57:48 +0300 Subject: [PATCH] [General] Forward PlayerJournal packets to other players --- apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp | 2 ++ apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp index 48adf9b48..bb783ad32 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp @@ -22,6 +22,8 @@ namespace mwmp { DEBUG_PRINTF(strPacketID.c_str()); + packet.Send(true); + Script::Call(player.getId()); } }; diff --git a/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp b/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp index c1b8b5f2e..37725344b 100644 --- a/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp +++ b/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp @@ -20,8 +20,6 @@ namespace mwmp virtual void Do(PlayerPacket &packet, BasePlayer *player) { - if (!isLocal()) return; - if (isRequest()) { // Entire journal cannot currently be requested from players