From: Matthias Braun Date: Sun, 22 Jan 2006 15:51:38 +0000 (+0000) Subject: fix X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1ad035ba71bd1656bfa342e0ff24709476b65c18;p=supertux.git fix SVN-Revision: 3020 --- diff --git a/src/object/camera.cpp b/src/object/camera.cpp index f33215a9f..5afd926b1 100644 --- a/src/object/camera.cpp +++ b/src/object/camera.cpp @@ -62,7 +62,6 @@ Camera::parse(const lisp::Lisp& reader) do_backscrolling = true; reader.get("backscrolling", do_backscrolling); } else if(modename == "autoscroll") { - printf("autoscroll.\n"); mode = AUTOSCROLL; const lisp::Lisp* path_lisp = reader.get_lisp("path"); @@ -341,6 +340,6 @@ Camera::update_scroll_to(float elapsed_time) return; } - translation = (scroll_goal - scroll_from) * scroll_to_pos; + translation = scroll_from + (scroll_goal - scroll_from) * scroll_to_pos; }