projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More -Weffc++ cleanup, almost done
[supertux.git]
/
src
/
supertux
/
game_object.cpp
diff --git
a/src/supertux/game_object.cpp
b/src/supertux/game_object.cpp
index
bc203e5
..
bb76c99
100644
(file)
--- a/
src/supertux/game_object.cpp
+++ b/
src/supertux/game_object.cpp
@@
-19,13
+19,15
@@
GameObject::GameObject() :
wants_to_die(false),
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),
{
}
GameObject::GameObject(const GameObject& rhs) :
wants_to_die(rhs.wants_to_die),
- remove_listeners(NULL)
+ remove_listeners(NULL),
+ name(rhs.name)
{
}
{
}