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; }