aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-10-13 15:41:55 +0000
committerMax Horn2010-10-13 15:41:55 +0000
commit9755c63292cfa3ede160f30d45b28e6dfe8b53e7 (patch)
tree6abc9ca34136aca260b608c7bda85e064e4c2058
parent9b4d41d2d2a165a95b3b9223f53196fe51c0b14f (diff)
downloadscummvm-rg350-9755c63292cfa3ede160f30d45b28e6dfe8b53e7.tar.gz
scummvm-rg350-9755c63292cfa3ede160f30d45b28e6dfe8b53e7.tar.bz2
scummvm-rg350-9755c63292cfa3ede160f30d45b28e6dfe8b53e7.zip
SWORD25: Invoke parent's class copy constructor
svn-id: r53432
-rw-r--r--engines/sword25/math/polygon.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}