|
|
@ -23,10 +23,15 @@ mwmp::CellController::CellController()
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CellController::~CellController()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CellController::updateLocal(bool forceUpdate)
|
|
|
|
void CellController::updateLocal(bool forceUpdate)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Loop through Cells, deleting inactive ones and updating LocalActors in active ones
|
|
|
|
// Loop through Cells, deleting inactive ones and updating LocalActors in active ones
|
|
|
|
for (std::map<std::string, mwmp::Cell *>::iterator it = cellsInitialized.begin(); it != cellsInitialized.end();)
|
|
|
|
for (auto it = cellsInitialized.begin(); it != cellsInitialized.end();)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mwmp::Cell *mpCell = it->second;
|
|
|
|
mwmp::Cell *mpCell = it->second;
|
|
|
|
|
|
|
|
|
|
|
|