[Super-tux-commit] supertux/src gameloop.cpp,1.183,1.184
Brought to you by:
wkendrick
From: Marek M. <wa...@us...> - 2004-09-17 11:40:19
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4608/src Modified Files: gameloop.cpp Log Message: don't loose a life when using the "kill" cheat Index: gameloop.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v retrieving revision 1.183 retrieving revision 1.184 diff -u -d -r1.183 -r1.184 --- gameloop.cpp 16 Sep 2004 18:56:01 -0000 1.183 +++ gameloop.cpp 17 Sep 2004 11:40:10 -0000 1.184 @@ -436,7 +436,8 @@ last_keys.clear(); } if(compare_last(last_keys, "kill")) - { // kill Tux + { // kill Tux, but without losing a life + player_status.lives++; tux.kill(tux.KILL); last_keys.clear(); } |