X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmoving_object.cpp;h=f71e909d0cb86c0ddf296101b9f39d2af978df37;hb=b50836ea0d5c455c115fba76616ba544aad5ae5f;hp=1288dea74daf7fce2fd5904352e66b35981bb885;hpb=308f11e38981077626fe0ea9887094f3c28b02f9;p=supertux.git diff --git a/src/moving_object.cpp b/src/moving_object.cpp index 1288dea74..f71e909d0 100644 --- a/src/moving_object.cpp +++ b/src/moving_object.cpp @@ -1,7 +1,7 @@ // $Id$ // -// SuperTux - A Jump'n Run -// Copyright (C) 2004 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -16,16 +16,15 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#include -#include "moving_object.h" +#include "moving_object.hpp" MovingObject::MovingObject() { - base.x = base.y = base.width = base.height = 0; - old_base = base; + group = COLGROUP_MOVING; } MovingObject::~MovingObject() { } -