supertux/sector.cpp: Make sure the boolean argument to TileMap->get_movement is used...
[supertux.git] / src / supertux / moving_object.cpp
index 37ddbfe..3ab6a77 100644 (file)
 
 #include "supertux/moving_object.hpp"
 
-MovingObject::MovingObject()
+MovingObject::MovingObject() :
+  bbox(),
+  movement(),
+  group(COLGROUP_MOVING),
+  dest()
 {
-  group = COLGROUP_MOVING;
 }
 
 MovingObject::~MovingObject()