summaryrefslogtreecommitdiffstats
path: root/src/Data/Gate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Gate.cpp')
-rw-r--r--src/Data/Gate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Data/Gate.cpp b/src/Data/Gate.cpp
index 5a6c63e..2aa89ee 100644
--- a/src/Data/Gate.cpp
+++ b/src/Data/Gate.cpp
@@ -29,9 +29,10 @@ Gate::Gate(xmlpp::Element *node) : gateNode(node) {
xmlpp::Element *tNode = dynamic_cast<xmlpp::Element*>(*t);
if(tNode)
- triangles.push_front(Triangle(tNode));
+ triangles.push_back(Triangle(tNode));
}
+ id = node->get_attribute_value("id");
room1 = node->get_attribute_value("room1");
room2 = node->get_attribute_value("room2");
}