[Client] Clean up mapIndexes in CellController

This commit is contained in:
David Cernat 2017-05-27 21:20:24 +03:00
parent 619982b085
commit 2e45203bbb

View file

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