From 67a067e49c5a46c41f16b1b0e0bdcd627b8913e9 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 19 Aug 2010 13:19:23 +0200 Subject: [PATCH] changed name of teleport doors to the name of the destination cell --- apps/openmw/mwclass/door.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; }