[Super-tux-commit] supertux/src title.cpp,1.70,1.71
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-05-02 15:31:01
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1739/src Modified Files: title.cpp Log Message: fixed (well worked around) jump problems in the intro Index: title.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/title.cpp,v retrieving revision 1.70 retrieving revision 1.71 diff -u -d -r1.70 -r1.71 --- title.cpp 29 Apr 2004 17:32:01 -0000 1.70 +++ title.cpp 2 May 2004 15:30:50 -0000 1.71 @@ -222,10 +222,12 @@ float last_tux_x_pos = tux->base.x; tux->action(frame_ratio); +#if 0 // 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 // stuck behind a wall if (last_tux_x_pos == tux->base.x) walking = false; +#endif tux->draw(); } |