summaryrefslogtreecommitdiffstats
path: root/Portal.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-02-15 12:01:04 +0100
committerneoraider <devnull@localhost>2008-02-15 12:01:04 +0100
commit80b4f14530426d21c7ea26b7976a728f5b36c294 (patch)
treea3d54b26f072f1204c7a1146bd1dc96a8a3850d3 /Portal.h
parentc4aadd98230f3b9ab50398b715164ff874ea8a61 (diff)
downloadzoomedit-80b4f14530426d21c7ea26b7976a728f5b36c294.tar
zoomedit-80b4f14530426d21c7ea26b7976a728f5b36c294.zip
Added edges to rooms.
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;
}