From: Ricardo Cruz Date: Wed, 28 Apr 2004 12:13:00 +0000 (+0000) Subject: Don't give score when flatting a badguy, since this leaves to unfair situations.... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=837e41b7fdee903937eaa4f68cc804cc828bcb20;p=supertux.git Don't give score when flatting a badguy, since this leaves to unfair situations. Besides, we are already giving score for when he kills other enemies... I also think that we should give (let's say) half of the score, when a badguy is killed by a bullet. Since it is so easy to do that... What do you say? SVN-Revision: 800 --- diff --git a/src/badguy.cpp b/src/badguy.cpp index aa3d1a6fb..a0ee1070e 100644 --- a/src/badguy.cpp +++ b/src/badguy.cpp @@ -905,9 +905,12 @@ BadGuy::squish(Player* player) } make_player_jump(player); - - World::current()->add_score(base.x - scroll_x, base.y, 25 * player_status.score_multiplier); - player_status.score_multiplier++; + + if((kind != BAD_MRICEBLOCK && mode != dying)) + { + World::current()->add_score(base.x - scroll_x, base.y, 25 * player_status.score_multiplier); + player_status.score_multiplier++; + } // check for maximum number of squiches squishcount++;