[Client] Remove unused variable

This commit is contained in:
Koncord 2017-12-10 09:57:18 +08:00
parent fd721143e2
commit ecbe0127b0

View file

@ -1037,9 +1037,6 @@ void LocalPlayer::setBooks()
void LocalPlayer::setMapExplored() void LocalPlayer::setMapExplored()
{ {
MWWorld::Ptr ptrPlayer = getPlayerPtr();
MWMechanics::NpcStats &ptrNpcStats = ptrPlayer.getClass().getNpcStats(ptrPlayer);
for (const auto &cellExplored : mapChanges.cellsExplored) for (const auto &cellExplored : mapChanges.cellsExplored)
{ {
MWWorld::CellStore *ptrCellStore = Main::get().getCellController()->getCellStore(cellExplored); MWWorld::CellStore *ptrCellStore = Main::get().getCellController()->getCellStore(cellExplored);