From 7060ff59c5852ded1ac82292ebc497bb3f906e20 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Wed, 27 Jun 2018 01:23:48 +0300 Subject: [PATCH] [Client] Enforce the default global map cell size in multiplayer --- apps/openmw/mwrender/globalmap.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/globalmap.cpp b/apps/openmw/mwrender/globalmap.cpp index 7f088b94e..0f6b0d47a 100644 --- a/apps/openmw/mwrender/globalmap.cpp +++ b/apps/openmw/mwrender/globalmap.cpp @@ -253,7 +253,19 @@ namespace MWRender , mMinY(0), mMaxY(0) { - mCellSize = Settings::Manager::getInt("global map cell size", "Map"); + /* + Start of tes3mp change (major) + + We need map tiles to have consistent sizes, because the server's map + is gradually filled in through tiles sent by players via WorldMap packets + + As a result, the default value is enforced for the time being + */ + //mCellSize = Settings::Manager::getInt("global map cell size", "Map"); + mCellSize = 18; + /* + End of tes3mp change (major) + */ } GlobalMap::~GlobalMap()