mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
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.
This commit is contained in:
parent
5b25435260
commit
2220868fa9
@ -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…
x
Reference in New Issue
Block a user