diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index d8ae8fe9b6..f1e2a762f7 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -3298,7 +3298,7 @@ namespace MWWorld if (!ref.mRef.getTeleport()) continue; - if (ref.mRef.getDestCell().empty()) + if (ref.mRef.getDestCell().is()) { ESM::Position pos = ref.mRef.getDoorDest(); result = pos.asVec3();