aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-06-28 21:32:04 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-06-28 21:32:04 -0400
commita466eb8fd6e5707aaa1bfafa28535b82c67d69d8 (patch)
treece3a09b7b98584b3d42351eae7fd7e183e38b7f8 /src/entities.cpp
parent00f633afb62ed6914205639b44dcdaf839a2c2f7 (diff)
chests?, custom controls
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index e156ee2..0c312e2 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -336,7 +336,8 @@ void Structures::createFromXML(XMLElement *e, World *w)
// edge
if (!inside.empty()) {
- insideWorld = loadWorldFromXMLNoTakeover(inside);
+ insideWorld = dynamic_cast<IndoorWorld *>(loadWorldFromXMLNoTakeover(inside));
+ insideWorld->outside = inWorld;
}
textureLoc = e->StrAttribute("texture");