Fixed warning: warning: base class 'struct Parallaction::Node' should be explicitly initialized in the copy constructor

svn-id: r26235
This commit is contained in:
Max Horn 2007-03-18 23:04:44 +00:00
parent 1d395cccee
commit 8fae7d8b02

View File

@ -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 {