mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Client] Simplify setMapExplored()
This commit is contained in:
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…
x
Reference in New Issue
Block a user