Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30079/src
Modified Files:
player.cpp
Log Message:
play jump sound again when double jumping
(the double jump should probably get an extra sound effect)
Index: player.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- player.cpp 15 Sep 2004 22:39:23 -0000 1.168
+++ player.cpp 16 Sep 2004 20:48:09 -0000 1.169
@@ -557,6 +557,10 @@
can_double_jump = false;
jumping = true;
double_jumping = true;
+ if (size == SMALL)
+ SoundManager::get()->play_sound(IDToSound(SND_JUMP));
+ else
+ SoundManager::get()->play_sound(IDToSound(SND_BIGJUMP));
physic.set_velocity_y(5.2);
}
|