From 2e45203bbbb8a4fa68bf478c78959b0c5509a78f Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 27 May 2017 21:20:24 +0300 Subject: [PATCH] [Client] Clean up mapIndexes in CellController --- apps/openmw/mwmp/CellController.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/openmw/mwmp/CellController.cpp b/apps/openmw/mwmp/CellController.cpp index b0c9e8d92..8ffc0265d 100644 --- a/apps/openmw/mwmp/CellController.cpp +++ b/apps/openmw/mwmp/CellController.cpp @@ -275,8 +275,7 @@ DedicatedActor *CellController::getDedicatedActor(int refNumIndex, int mpNum) std::string CellController::generateMapIndex(int refNumIndex, int mpNum) { std::string mapIndex = ""; - mapIndex += "-" + Utils::toString(refNumIndex); - mapIndex += "-" + Utils::toString(mpNum); + mapIndex = Utils::toString(refNumIndex) + "-" + Utils::toString(mpNum); return mapIndex; }