oops, fix that
authorMatthias Braun <matze@braunis.de>
Sat, 3 Mar 2007 21:38:00 +0000 (21:38 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 3 Mar 2007 21:38:00 +0000 (21:38 +0000)
SVN-Revision: 4924

src/object/camera.cpp

index 5153dff..d4feaaf 100644 (file)
@@ -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;