[Super-tux-commit] supertux/src/badguy badguy.cpp,1.2,1.3
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-22 23:48:03
|
Update of /cvsroot/super-tux/supertux/src/badguy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28925/src/badguy Modified Files: badguy.cpp Log Message: properly implement invisible blocks Index: badguy.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/badguy/badguy.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- badguy.cpp 22 Nov 2004 17:51:50 -0000 1.2 +++ badguy.cpp 22 Nov 2004 23:47:50 -0000 1.3 @@ -164,6 +164,8 @@ void BadGuy::kill_fall() { + SoundManager::get()->play_sound(IDToSound(SND_FALL), this, + Sector::current()->player->get_pos()); physic.set_velocity_y(0); physic.enable_gravity(true); set_state(STATE_FALLING); |