[Super-tux-commit] supertux/src world.cpp,1.76,1.77
Brought to you by:
wkendrick
From: Ryan F. <sik...@us...> - 2004-05-11 23:31:01
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5337 Modified Files: world.cpp Log Message: - fixed vscroll a bit--forgot foreground Index: world.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/world.cpp,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- world.cpp 11 May 2004 23:25:06 -0000 1.76 +++ world.cpp 11 May 2004 23:30:50 -0000 1.77 @@ -245,7 +245,7 @@ { for (x = 0; x < 21; ++x) { - Tile::draw(32*x - fmodf(scroll_x, 32), y * 32, + Tile::draw(32*x - fmodf(scroll_x, 32), y * 32 - fmodf(scroll_y, 32), level->fg_tiles[(int)y + (int)(scroll_y / 32)][(int)x + (int)(scroll_x / 32)]); } } |