From: Matthias Braun Date: Fri, 31 Dec 2004 17:55:29 +0000 (+0000) Subject: fixed badguy respawning after being killed by a fireball X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b51665e5a1fdd19972691cfe1c33f108ad97e727;p=supertux.git fixed badguy respawning after being killed by a fireball SVN-Revision: 2270 --- diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index e010794bd..0b80172d1 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -200,7 +200,7 @@ BadGuy::set_state(State state) break; case STATE_INACTIVE: // was the badguy dead anyway? - if(laststate == STATE_SQUISHED || laststate == STATE_SQUISHED) { + if(laststate == STATE_SQUISHED || laststate == STATE_FALLING) { remove_me(); } flags |= FLAG_NO_COLLDET;