From 8d286657d41119dcdf677f9067da9842f24e9dee Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 26 Jul 2018 23:32:31 +0300 Subject: [PATCH] [Client] Update messages when unilaterally creating custom objects --- apps/openmw/mwmp/ObjectList.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwmp/ObjectList.cpp b/apps/openmw/mwmp/ObjectList.cpp index 0ba9e7523..2d0a03d03 100644 --- a/apps/openmw/mwmp/ObjectList.cpp +++ b/apps/openmw/mwmp/ObjectList.cpp @@ -897,7 +897,7 @@ void ObjectList::addObjectPlace(const MWWorld::Ptr& ptr, bool droppedByPlayer) { if (ptr.getCellRef().getRefId().find("$dynamic") != string::npos) { - MWBase::Environment::get().getWindowManager()->messageBox("You're trying to place a custom item, but those are not synchronized in multiplayer yet."); + MWBase::Environment::get().getWindowManager()->messageBox("You cannot place unsynchronized custom items in multiplayer."); return; } @@ -931,7 +931,8 @@ void ObjectList::addObjectSpawn(const MWWorld::Ptr& ptr) { if (ptr.getCellRef().getRefId().find("$dynamic") != string::npos) { - MWBase::Environment::get().getWindowManager()->messageBox("You're trying to spawn a custom object, but those are not synchronized in multiplayer yet."); + MWBase::Environment::get().getWindowManager()->messageBox("You're trying to spawn a custom object lacking a server-given refId, " + "and those cannot be synchronized in multiplayer."); return; }