diff --git a/apps/openmw/mwclass/door.cpp b/apps/openmw/mwclass/door.cpp index 6fd8f996cc..12aeb9a5b9 100644 --- a/apps/openmw/mwclass/door.cpp +++ b/apps/openmw/mwclass/door.cpp @@ -38,6 +38,9 @@ namespace MWClass ESMS::LiveCellRef *ref = ptr.get(); + if (ref->ref.teleport && !ref->ref.destCell.empty()) // TODO doors that lead to exteriors + return ref->ref.destCell; + return ref->base->name; }