summaryrefslogtreecommitdiffstats
path: root/Portal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Portal.h')
-rw-r--r--Portal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Portal.h b/Portal.h
index 5f53f7b..858caf8 100644
--- a/Portal.h
+++ b/Portal.h
@@ -71,7 +71,7 @@ class Portal : public LevelObject, public VertexProvider {
std::vector<SharedPtr<LevelObject> > children;
for(size_t i = 0; i < 4; i++)
- children.push_back(SharedPtr<LevelObject>(new LevelVertex(this, i)));
+ children.push_back(SharedPtr<LevelObject>(new LevelVertex(this, i, this)));
return children;
}