Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23066/src
Modified Files:
gameloop.cpp
Log Message:
fix for star not changing music, thanks to Ondra Hosek for the patch
Index: gameloop.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- gameloop.cpp 28 Nov 2004 14:56:49 -0000 1.207
+++ gameloop.cpp 29 Nov 2004 16:24:09 -0000 1.208
@@ -770,7 +770,7 @@
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);
}
|