X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux%2Fgame_object.cpp;h=bb76c99c530ebdca37b044186b6c6b705f0f7ee5;hb=3aa6936791cf24344e27d452ab2fd8c33fb5a2e8;hp=bc203e528ed1df26537fafabebe1e72a48457707;hpb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;p=supertux.git diff --git a/src/supertux/game_object.cpp b/src/supertux/game_object.cpp index bc203e528..bb76c99c5 100644 --- a/src/supertux/game_object.cpp +++ b/src/supertux/game_object.cpp @@ -19,13 +19,15 @@ GameObject::GameObject() : wants_to_die(false), - remove_listeners(NULL) + remove_listeners(NULL), + name() { } GameObject::GameObject(const GameObject& rhs) : wants_to_die(rhs.wants_to_die), - remove_listeners(NULL) + remove_listeners(NULL), + name(rhs.name) { }