mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-26 23:40:26 +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())
|
if (!ref.mRef.getTeleport())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ref.mRef.getDestCell().empty())
|
if (ref.mRef.getDestCell().is<ESM::ESM3ExteriorCellRefId>())
|
||||||
{
|
{
|
||||||
ESM::Position pos = ref.mRef.getDoorDest();
|
ESM::Position pos = ref.mRef.getDoorDest();
|
||||||
result = pos.asVec3();
|
result = pos.asVec3();
|
||||||
|
|
Loading…
Reference in a new issue