projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4553e87
)
Short Fuse runs dead-script when exploding, not just when kill_fall() is called
author
LMH
<lmh.0013@gmail.com>
Sat, 13 Jul 2013 03:11:34 +0000
(17:11 -1000)
committer
LMH
<lmh.0013@gmail.com>
Sat, 13 Jul 2013 03:11:34 +0000
(17:11 -1000)
src/badguy/short_fuse.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/short_fuse.cpp
b/src/badguy/short_fuse.cpp
index
ae0c05c
..
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 ();
}
@@
-101,7
+102,6
@@
void
ShortFuse::kill_fall (void)
{
explode ();
- run_dead_script ();
}
/* vim: set sw=2 sts=2 et : */