mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 12:39:41 +00:00
Fix global map position
This commit is contained in:
parent
97fb06d8c9
commit
2deff337d8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue