projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved death mechanics of flame and iceflame.
[supertux.git]
/
src
/
badguy
/
short_fuse.cpp
diff --git
a/src/badguy/short_fuse.cpp
b/src/badguy/short_fuse.cpp
index
db16a61
..
d36c54d
100644
(file)
--- a/
src/badguy/short_fuse.cpp
+++ b/
src/badguy/short_fuse.cpp
@@
-71,6
+71,7
@@
ShortFuse::explode (void)
explosion->pushes (true);
Sector::current()->add_object (explosion);
+ run_dead_script ();
remove_me ();
}
@@
-97,5
+98,11
@@
ShortFuse::collision_player (Player& player, const CollisionHit&)
return ABORT_MOVE;
}
+void
+ShortFuse::kill_fall (void)
+{
+ explode ();
+}
+
/* vim: set sw=2 sts=2 et : */
/* EOF */