Preload surrounding exterior cells for the teleport door destination

When player teleports to the exterior cell, multiple cells are loaded not only
the target so better to have them preloaded too.
pull/3235/head
elsid 3 weeks ago
parent 5b25435260
commit 2220868fa9
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -1136,7 +1136,7 @@ namespace MWWorld
{
try
{
preloadCell(mWorld.getWorldModel().getCell(door.getCellRef().getDestCell()));
preloadCell(mWorld.getWorldModel().getCell(door.getCellRef().getDestCell()), true);
}
catch (std::exception&)
{

Loading…
Cancel
Save