From: Tobias Gläßer Date: Sun, 25 Jan 2004 17:40:30 +0000 (+0000) Subject: fix for the 'Box appears, but it shouldn't' bug. :) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=29207e8fabaccc6dea214ca4e8f94e2e282aa2fe;p=supertux.git fix for the 'Box appears, but it shouldn't' bug. :) SVN-Revision: 103 --- diff --git a/src/player.c b/src/player.c index ce4ee5c57..425e6e28c 100644 --- a/src/player.c +++ b/src/player.c @@ -365,7 +365,7 @@ void player_action(player_type* pplayer) } if (distro_counter <= 0) - level_change(¤t_level,pplayer->base.x+ 31 + scroll_x, pplayer->base.y, 'a'); + level_change(¤t_level,pplayer->base.x+ 31, pplayer->base.y, 'a'); play_sound(sounds[SND_DISTRO], SOUND_CENTER_SPEAKER); score = score + SCORE_DISTRO;