From 3017bdb29070422d0ec73e2e732242f2da6d9aa9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Gl=C3=A4=C3=9Fer?= Date: Sat, 13 Mar 2004 18:47:54 +0000 Subject: [PATCH] the player couldn't jump heigher than the screen. SVN-Revision: 203 --- src/player.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/player.c b/src/player.c index 5e65023f9..3df8f89d9 100644 --- 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); } -- 2.11.0