diff --git a/apps/openmw/mwmp/processors/player/ProcessorPlayerFaction.hpp b/apps/openmw/mwmp/processors/player/ProcessorPlayerFaction.hpp index a4a250f52..5e9654539 100644 --- a/apps/openmw/mwmp/processors/player/ProcessorPlayerFaction.hpp +++ b/apps/openmw/mwmp/processors/player/ProcessorPlayerFaction.hpp @@ -20,8 +20,10 @@ namespace mwmp { // Entire faction membership cannot currently be requested from players } - else + else if (player != 0) + { static_cast(player)->setFactions(); + } } }; } diff --git a/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp b/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp index 37725344b..803301b5b 100644 --- a/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp +++ b/apps/openmw/mwmp/processors/player/ProcessorPlayerJournal.hpp @@ -24,8 +24,10 @@ namespace mwmp { // Entire journal cannot currently be requested from players } - else + else if (player != 0) + { static_cast(player)->addJournalItems(); + } } }; } diff --git a/apps/openmw/mwmp/processors/player/ProcessorPlayerTopic.hpp b/apps/openmw/mwmp/processors/player/ProcessorPlayerTopic.hpp index 5b7046885..4a087a346 100644 --- a/apps/openmw/mwmp/processors/player/ProcessorPlayerTopic.hpp +++ b/apps/openmw/mwmp/processors/player/ProcessorPlayerTopic.hpp @@ -20,8 +20,10 @@ namespace mwmp { // Entire list of topics cannot currently be requested from players } - else + else if (player != 0) + { static_cast(player)->addTopics(); + } } }; }