Keep dead Tux small, resolves bug#638 and issue#5
authorLMH <lmh.0013@gmail.com>
Wed, 2 Oct 2013 22:53:24 +0000 (12:53 -1000)
committerTobias Markus <tobbi@mozilla-uk.org>
Sat, 26 Oct 2013 16:45:24 +0000 (18:45 +0200)
src/object/player.cpp

index 0fc1053..538e205 100644 (file)
@@ -335,6 +335,7 @@ Player::update(float elapsed_time)
   no_water = true;
 
   if(dying && dying_timer.check()) {
+    set_bonus(NO_BONUS, true);
     dead = true;
     return;
   }