[Client] Simplify setMapExplored()

0.6.1
Koncord 8 years ago
parent 52349278e9
commit 9bb586de77

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

Loading…
Cancel
Save