projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
somre sound preloading
[supertux.git]
/
src
/
object
/
bullet.cpp
diff --git
a/src/object/bullet.cpp
b/src/object/bullet.cpp
index
e878660
..
40d9a5e
100644
(file)
--- a/
src/object/bullet.cpp
+++ b/
src/object/bullet.cpp
@@
-105,9
+105,9
@@
Bullet::collision(GameObject& other, const CollisionHit& hit)
return CONTINUE;
}
+ // hit a Badguy
BadGuy* badguy = dynamic_cast<BadGuy*> (&other);
if(badguy) {
- badguy->kill_fall();
remove_me();
return FORCE_MOVE;
}