From 9755c63292cfa3ede160f30d45b28e6dfe8b53e7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 13 Oct 2010 15:41:55 +0000 Subject: SWORD25: Invoke parent's class copy constructor svn-id: r53432 --- engines/sword25/math/polygon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sword25/math/polygon.cpp b/engines/sword25/math/polygon.cpp index 700c375e8c..a83a8aa1dd 100644 --- a/engines/sword25/math/polygon.cpp +++ b/engines/sword25/math/polygon.cpp @@ -49,7 +49,7 @@ Polygon::Polygon(int vertexCount_, const Vertex *vertices_) : vertexCount(0), ve init(vertexCount_, vertices_); } -Polygon::Polygon(const Polygon &other) : vertexCount(0), vertices(NULL) { +Polygon::Polygon(const Polygon &other) : Persistable(other), vertexCount(0), vertices(NULL) { init(other.vertexCount, other.vertices); } -- cgit v1.2.3