From 72208ffd7bc316b640987a1c453d31b8e41bffef Mon Sep 17 00:00:00 2001 From: Marek Moeckel Date: Fri, 17 Sep 2004 11:40:10 +0000 Subject: [PATCH] don't loose a life when using the "kill" cheat SVN-Revision: 1936 --- src/gameloop.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gameloop.cpp b/src/gameloop.cpp index aa5e1c7b9..5eb442969 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -436,7 +436,8 @@ GameSession::process_events() 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(); } -- 2.11.0