1
0
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:
elsid 2024-04-29 01:02:46 +02:00
parent 5b25435260
commit 2220868fa9
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -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&)
{