[Client] Clean up mapIndexes in CellController

0.6.1
David Cernat 8 years ago
parent 619982b085
commit 2e45203bbb

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

Loading…
Cancel
Save