diff options
author | Max Horn | 2007-03-18 23:04:44 +0000 |
---|---|---|
committer | Max Horn | 2007-03-18 23:04:44 +0000 |
commit | 8fae7d8b022e0672243aa4a12a00eb03e549a606 (patch) | |
tree | 92aac8e76019270d35301bb6c2e5a0323ee57026 | |
parent | 1d395cccee97a6a9a4948769251939953242dff9 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/parallaction/defs.h | 4 |
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 { |