From 8fae7d8b022e0672243aa4a12a00eb03e549a606 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 18 Mar 2007 23:04:44 +0000 Subject: [PATCH] Fixed warning: warning: base class 'struct Parallaction::Node' should be explicitly initialized in the copy constructor svn-id: r26235 --- engines/parallaction/defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/parallaction/defs.h b/engines/parallaction/defs.h index 6501a2c4b14..6d82098022a 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 {