From: Ryan Flegel Date: Thu, 27 Apr 2006 18:03:12 +0000 (+0000) Subject: We already call bounce() in kill_squished() X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=82dfe2a450119d2ca47c71dd856ee90f2e94a5ef;p=supertux.git We already call bounce() in kill_squished() SVN-Revision: 3446 --- diff --git a/src/badguy/yeti.cpp b/src/badguy/yeti.cpp index 7b862ea6a..9efb5cf9f 100644 --- a/src/badguy/yeti.cpp +++ b/src/badguy/yeti.cpp @@ -179,10 +179,8 @@ Yeti::kill_squished(Player& player) take_hit(player); } -void Yeti::take_hit(Player& player) +void Yeti::take_hit(Player& ) { - player.bounce(*this); - if(safe_timer.started()) return;