|
|
@ -105,7 +105,7 @@ LocalActor *CellController::getLocalActor(MWWorld::Ptr ptr)
|
|
|
|
std::string actorIndex = generateMapIndex(ptr);
|
|
|
|
std::string actorIndex = generateMapIndex(ptr);
|
|
|
|
std::string cellIndex = localActorsToCells.at(actorIndex);
|
|
|
|
std::string cellIndex = localActorsToCells.at(actorIndex);
|
|
|
|
|
|
|
|
|
|
|
|
cellsActive.at(cellIndex)->getLocalActor(actorIndex);
|
|
|
|
return cellsActive.at(cellIndex)->getLocalActor(actorIndex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
std::string CellController::generateMapIndex(MWWorld::Ptr ptr)
|
|
|
|
std::string CellController::generateMapIndex(MWWorld::Ptr ptr)
|
|
|
|