Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23754/src
Modified Files:
title.cpp
Log Message:
fixed end of level to begin wrap around in the title demo.
Index: title.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/title.cpp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- title.cpp 7 May 2004 20:48:22 -0000 1.79
+++ title.cpp 10 May 2004 20:13:01 -0000 1.80
@@ -191,8 +191,8 @@
// Wrap around at the end of the level back to the beginnig
if(plevel->width * 32 - 320 < tux->base.x)
{
- tux->base.x = tux->base.x - (plevel->width * 32 - 640);
- scroll_x = tux->base.x - 320;
+ tux->level_begin()
+ scroll_x = 0;
}
tux->can_jump = true;
|