From 837e41b7fdee903937eaa4f68cc804cc828bcb20 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Wed, 28 Apr 2004 12:13:00 +0000 Subject: [PATCH] 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 --- src/badguy.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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++; -- 2.11.0