From ecbe0127b0d597571be40085b04bd61f360c1e1f Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 10 Dec 2017 09:57:18 +0800 Subject: [PATCH] [Client] Remove unused variable --- apps/openmw/mwmp/LocalPlayer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index 1432af180..1ab7c85d6 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -1037,9 +1037,6 @@ void LocalPlayer::setBooks() void LocalPlayer::setMapExplored() { - MWWorld::Ptr ptrPlayer = getPlayerPtr(); - MWMechanics::NpcStats &ptrNpcStats = ptrPlayer.getClass().getNpcStats(ptrPlayer); - for (const auto &cellExplored : mapChanges.cellsExplored) { MWWorld::CellStore *ptrCellStore = Main::get().getCellController()->getCellStore(cellExplored);