X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux%2Fmoving_object.cpp;h=3ab6a775de444f6f0513502aec23e290d61d3246;hb=9ea35748100d9feb67a66f8a6656cc60f41bfa8c;hp=37ddbfe3270b5e89e71269a919567096e28bf499;hpb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;p=supertux.git diff --git a/src/supertux/moving_object.cpp b/src/supertux/moving_object.cpp index 37ddbfe32..3ab6a775d 100644 --- a/src/supertux/moving_object.cpp +++ b/src/supertux/moving_object.cpp @@ -16,9 +16,12 @@ #include "supertux/moving_object.hpp" -MovingObject::MovingObject() +MovingObject::MovingObject() : + bbox(), + movement(), + group(COLGROUP_MOVING), + dest() { - group = COLGROUP_MOVING; } MovingObject::~MovingObject()