projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed collision code, we now have several collision groups:
[supertux.git]
/
src
/
object
/
growup.cpp
diff --git
a/src/object/growup.cpp
b/src/object/growup.cpp
index
6f0fe5e
..
1e8406b
100644
(file)
--- a/
src/object/growup.cpp
+++ b/
src/object/growup.cpp
@@
-35,6
+35,7
@@
GrowUp::GrowUp()
sprite = sprite_manager->create("egg");
physic.enable_gravity(true);
physic.set_velocity_x(100);
+ set_group(COLGROUP_MOVING);
}
GrowUp::~GrowUp()