Fixing SuperTux crashes when compiled on Mac OS X 10.9
[supertux.git] / src / supertux / game_object.cpp
index bc203e5..05347ab 100644 (file)
 
 GameObject::GameObject() :
   wants_to_die(false), 
-  remove_listeners(NULL)
+  remove_listeners(NULL),
+  name()
 {
 }
 
 GameObject::GameObject(const GameObject& rhs) :
+  RefCounter(),
   wants_to_die(rhs.wants_to_die),
-  remove_listeners(NULL)
+  remove_listeners(NULL),
+  name(rhs.name)
 {  
 }