From: Ricardo Cruz Date: Mon, 3 May 2004 13:57:39 +0000 (+0000) Subject: Ooops, looks like screen wasn't scrolling in the main menu. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=acb0c58032dd6c0ce5fd48ae0aac2451d3e809b9;p=supertux.git Ooops, looks like screen wasn't scrolling in the main menu. SVN-Revision: 947 --- diff --git a/src/title.cpp b/src/title.cpp index a2046d26b..9fb773188 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -222,7 +222,8 @@ void draw_demo(GameSession* session, double frame_ratio) tux->can_jump = true; float last_tux_x_pos = tux->base.x; - tux->action(frame_ratio); + session->get_world()->action(frame_ratio); + // disabled for now, since with the new jump code we easily get deadlocks // Jump if tux stays in the same position for one loop, ie. if he is