aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/defs.h
diff options
context:
space:
mode:
authorMax Horn2007-03-18 23:04:44 +0000
committerMax Horn2007-03-18 23:04:44 +0000
commit8fae7d8b022e0672243aa4a12a00eb03e549a606 (patch)
tree92aac8e76019270d35301bb6c2e5a0323ee57026 /engines/parallaction/defs.h
parent1d395cccee97a6a9a4948769251939953242dff9 (diff)
downloadscummvm-rg350-8fae7d8b022e0672243aa4a12a00eb03e549a606.tar.gz
scummvm-rg350-8fae7d8b022e0672243aa4a12a00eb03e549a606.tar.bz2
scummvm-rg350-8fae7d8b022e0672243aa4a12a00eb03e549a606.zip
Fixed warning: warning: base class 'struct Parallaction::Node' should be explicitly initialized in the copy constructor
svn-id: r26235
Diffstat (limited to 'engines/parallaction/defs.h')
-rw-r--r--engines/parallaction/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/defs.h b/engines/parallaction/defs.h
index 6501a2c4b1..6d82098022 100644
--- a/engines/parallaction/defs.h
+++ b/engines/parallaction/defs.h
@@ -54,7 +54,9 @@ public:
WalkNode(int32 x, int32 y) : _x(x), _y(y) {
}
- WalkNode(const WalkNode& w) : _x(w._x), _y(w._y) {
+ WalkNode(const WalkNode& w) : Node(), _x(w._x), _y(w._y) {
+ // TODO: This will not properly set _prev and _next
+ // -- not sure what would be "correct" here?
}
void getPoint(Common::Point &p) const {