projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe65d3b
)
the player couldn't jump heigher than the screen.
author
Tobias Gläßer
<tobi.web@gmx.de>
Sat, 13 Mar 2004 18:47:54 +0000
(18:47 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Sat, 13 Mar 2004 18:47:54 +0000
(18:47 +0000)
SVN-Revision: 203
src/player.c
patch
|
blob
|
history
diff --git
a/src/player.c
b/src/player.c
index
5e65023
..
3df8f89
100644
(file)
--- a/
src/player.c
+++ b/
src/player.c
@@
-1014,9
+1014,7
@@
void player_keep_in_bounds(player_type* pplayer)
/* Keep in-bounds, vertically: */
- if (pplayer->base.y < 0)
- pplayer->base.y = 0;
- else if (pplayer->base.y > screen->h)
+ if (pplayer->base.y > screen->h)
{
player_kill(&tux,KILL);
}