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:
parent
97fb06d8c9
commit
2deff337d8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user