mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -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);
|
MWWorld::CellStore *ptrCellStore = Main::get().getCellController()->getCellStore(cellExplored);
|
||||||
|
|
||||||
if (!ptrCellStore) continue;
|
if (ptrCellStore)
|
||||||
|
MWBase::Environment::get().getWindowManager()->setCellExplored(ptrCellStore);
|
||||||
MWBase::Environment::get().getWindowManager()->setCellExplored(ptrCellStore);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user