projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94e3af
)
Fix bug reported by Ryan: in level smaller than 19, Tux would stay in dead move forever.
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 18 May 2004 17:46:05 +0000
(17:46 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 18 May 2004 17:46:05 +0000
(17:46 +0000)
SVN-Revision: 1256
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
64cd317
..
dd02bc2
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-799,7
+799,7
@@
Player::is_dying()
bool Player::is_dead()
{
- if(base.y > screen->h + scroll_y ||
+ if(base.y > screen->h + scroll_y ||
base.y > World::current()->get_level()->height*32 ||
base.x < scroll_x - AUTOSCROLL_DEAD_INTERVAL) // can happen in auto-scrolling
return true;
else