Fixed trailing whitespaces in all(?) source files of supertux, also fixed some svn...
[supertux.git] / src / game_object.cpp
index c63dbf1..1faa7bd 100644 (file)
@@ -1,7 +1,7 @@
-//  $Id: game_object.cpp 2277 2005-01-16 12:11:22Z matzebraun $
+//  $Id$
 //
-//  SuperTux -  A Jump'n Run
-//  Copyright (C) 2004 Matthias Braun <matze@braunis.de>
+//  SuperTux
+//  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
 //
 //  This program is free software; you can redistribute it and/or
 //  modify it under the terms of the GNU General Public License
@@ -23,7 +23,7 @@
 #include "object_remove_listener.hpp"
 
 GameObject::GameObject()
-  : wants_to_die(false), remove_listeners(0), flags(0)
+  : wants_to_die(false), remove_listeners(NULL)
 {
 }
 
@@ -31,7 +31,7 @@ GameObject::~GameObject()
 {
   // call remove listeners (and remove them from the list)
   RemoveListenerListEntry* entry = remove_listeners;
-  while(entry != 0) {
+  while(entry != NULL) {
     RemoveListenerListEntry* next = entry->next;
     entry->listener->object_removed(this);
     delete entry;