1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 12:40:04 +00:00

Fix global map position

This commit is contained in:
Evil Eye 2023-04-13 17:44:23 +02:00
parent 97fb06d8c9
commit 2deff337d8

View File

@ -3298,7 +3298,7 @@ namespace MWWorld
if (!ref.mRef.getTeleport())
continue;
if (ref.mRef.getDestCell().empty())
if (ref.mRef.getDestCell().is<ESM::ESM3ExteriorCellRefId>())
{
ESM::Position pos = ref.mRef.getDoorDest();
result = pos.asVec3();