[Client] Add missing return

This commit is contained in:
David Cernat 2017-04-07 11:32:42 +03:00
parent 18be1880f0
commit ae92117d21

View file

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