From: Matthias Braun Date: Sat, 3 Mar 2007 21:38:00 +0000 (+0000) Subject: oops, fix that X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=02245b2586576822e3c408a9849ef6a07320f9e7;p=supertux.git oops, fix that SVN-Revision: 4924 --- diff --git a/src/object/camera.cpp b/src/object/camera.cpp index 5153dff3e..d4feaafd5 100644 --- a/src/object/camera.cpp +++ b/src/object/camera.cpp @@ -307,8 +307,9 @@ Camera::update_scroll_normal(float elapsed_time) if(player->is_dying() || sector->get_height() == 19*32) { ymode = 0; - xmode = 0; } + if(player->is_dying()) + xmode = 0; if(ymode == 1) { translation.y = player_pos.y - SCREEN_HEIGHT * config.target_y;