projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cbc73c
)
don't loose a life when using the "kill" cheat
author
Marek Moeckel
<wansti@gmx.de>
Fri, 17 Sep 2004 11:40:10 +0000
(11:40 +0000)
committer
Marek Moeckel
<wansti@gmx.de>
Fri, 17 Sep 2004 11:40:10 +0000
(11:40 +0000)
SVN-Revision: 1936
src/gameloop.cpp
patch
|
blob
|
history
diff --git
a/src/gameloop.cpp
b/src/gameloop.cpp
index
aa5e1c7
..
5eb4429
100644
(file)
--- 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();
}