projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fcc70d
)
- fixed bomb-dup bug (vector increases on add, and this changes I guess, so remove...
author
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 22 Apr 2004 16:49:28 +0000
(16:49 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 22 Apr 2004 16:49:28 +0000
(16:49 +0000)
SVN-Revision: 642
src/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
67d5540
..
1c06b25
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-856,6
+856,7
@@
void
BadGuy::squish(Player* player)
{
if(kind == BAD_MRBOMB) {
+ remove_me();
// mrbomb transforms into a bomb now
World::current()->add_bad_guy(base.x, base.y, BAD_BOMB);
@@
-864,7
+865,6
@@
BadGuy::squish(Player* player)
play_sound(sounds[SND_SQUISH], SOUND_CENTER_SPEAKER);
player_status.score_multiplier++;
- remove_me();
return;
} else if(kind == BAD_BSOD) {