From ae92117d217519baf7ee3a8b2b0f09985595722a Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 7 Apr 2017 11:32:42 +0300 Subject: [PATCH] [Client] Add missing return --- apps/openmw/mwmp/CellController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/CellController.cpp b/apps/openmw/mwmp/CellController.cpp index f0033bf7f..baf3110ee 100644 --- a/apps/openmw/mwmp/CellController.cpp +++ b/apps/openmw/mwmp/CellController.cpp @@ -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)