forked from mirror/openmw-tes3mp
[Client] Simplify setMapExplored()
This commit is contained in:
parent
52349278e9
commit
9bb586de77
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue