fix for star not changing music, thanks to Ondra Hosek for the patch
authorMatthias Braun <matze@braunis.de>
Mon, 29 Nov 2004 16:24:09 +0000 (16:24 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 29 Nov 2004 16:24:09 +0000 (16:24 +0000)
SVN-Revision: 2228

TODO
src/gameloop.cpp

diff --git a/TODO b/TODO
index a6bc743..49cd9f6 100644 (file)
--- a/TODO
+++ b/TODO
@@ -117,8 +117,6 @@ L: low priority
      - New forest tileset
      - Badguy sprites
      - Tux's buttjump animation
-[M] after picking up a star the salcon music isn't played anymore, but the
-    levelmusic restarts.
 
 [M] Save score on per-level basis to make high-score
 [M] Save time on per-level basis to make low-time-score
index 84e4be2..c27bf6c 100644 (file)
@@ -770,7 +770,7 @@ GameSession::run()
       currentsector->player->kill(Player::KILL);
     
     /* Handle music: */
-    if(currentsector->player->invincible_timer.check() && !end_sequence)
+    if(currentsector->player->invincible_timer.started() && !end_sequence)
     {
       currentsector->play_music(HERRING_MUSIC);
     }