Ooops, looks like screen wasn't scrolling in the main menu.
authorRicardo Cruz <rick2@aeiou.pt>
Mon, 3 May 2004 13:57:39 +0000 (13:57 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Mon, 3 May 2004 13:57:39 +0000 (13:57 +0000)
SVN-Revision: 947

src/title.cpp

index a2046d2..9fb7731 100644 (file)
@@ -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