fix for the 'Box appears, but it shouldn't' bug. :)
authorTobias Gläßer <tobi.web@gmx.de>
Sun, 25 Jan 2004 17:40:30 +0000 (17:40 +0000)
committerTobias Gläßer <tobi.web@gmx.de>
Sun, 25 Jan 2004 17:40:30 +0000 (17:40 +0000)
SVN-Revision: 103

src/player.c

index ce4ee5c..425e6e2 100644 (file)
@@ -365,7 +365,7 @@ void player_action(player_type* pplayer)
                             }
 
                           if (distro_counter <= 0)
-                            level_change(&current_level,pplayer->base.x+ 31 + scroll_x, pplayer->base.y, 'a');
+                            level_change(&current_level,pplayer->base.x+ 31, pplayer->base.y, 'a');
 
                           play_sound(sounds[SND_DISTRO], SOUND_CENTER_SPEAKER);
                           score = score + SCORE_DISTRO;