X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmoving_object.cpp;h=f71e909d0cb86c0ddf296101b9f39d2af978df37;hb=7e15c4f871809033278711a6e9327616da00c4c9;hp=b81d837de833dff528ca09c357b5cb390e3a7e13;hpb=cf4de5d58eb99a11369c329c01bfa5abe4b0a398;p=supertux.git diff --git a/src/moving_object.cpp b/src/moving_object.cpp index b81d837de..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,15 +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 "moving_object.h" +#include + +#include "moving_object.hpp" MovingObject::MovingObject() { - base.x = base.y = base.width = base.height = 0; - old_base = base; + group = COLGROUP_MOVING; } MovingObject::~MovingObject() { } -