[Client] Simplify setMapExplored()

0.6.1
Koncord 8 years ago
parent 52349278e9
commit 9bb586de77

@ -1001,8 +1001,7 @@ void LocalPlayer::setMapExplored()
{
MWWorld::CellStore *ptrCellStore = Main::get().getCellController()->getCellStore(cellExplored);
if (!ptrCellStore) continue;
if (ptrCellStore)
MWBase::Environment::get().getWindowManager()->setCellExplored(ptrCellStore);
}
}

Loading…
Cancel
Save