diff options
author | Max Horn | 2010-10-13 15:41:55 +0000 |
---|---|---|
committer | Max Horn | 2010-10-13 15:41:55 +0000 |
commit | 9755c63292cfa3ede160f30d45b28e6dfe8b53e7 (patch) | |
tree | 6abc9ca34136aca260b608c7bda85e064e4c2058 /engines/sword25/math | |
parent | 9b4d41d2d2a165a95b3b9223f53196fe51c0b14f (diff) | |
download | scummvm-rg350-9755c63292cfa3ede160f30d45b28e6dfe8b53e7.tar.gz scummvm-rg350-9755c63292cfa3ede160f30d45b28e6dfe8b53e7.tar.bz2 scummvm-rg350-9755c63292cfa3ede160f30d45b28e6dfe8b53e7.zip |
SWORD25: Invoke parent's class copy constructor
svn-id: r53432
Diffstat (limited to 'engines/sword25/math')
-rw-r--r-- | engines/sword25/math/polygon.cpp | 2 |
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); } |