aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r--src/gameplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index d647270..c4249a4 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -226,7 +226,7 @@ void initEverything(void){
if(!strcmp(l.name,wxml->Attribute("outside"))){
for(auto &b : l.ptr->build){
if(*b->inside == earth.back()){
- ((IndoorWorld *)*b->inside)->outside = l.ptr;
+ ((IndoorWorld *)*b->inside)->outside = &l.ptr;
}
}
break;