mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
Fixed warning: warning: base class 'struct Parallaction::Node' should be explicitly initialized in the copy constructor
svn-id: r26235
This commit is contained in:
parent
1d395cccee
commit
8fae7d8b02
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user