[Super-tux-commit] supertux/src badguy.cpp,1.69,1.70 player.cpp,1.91,1.92
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-11 23:15:56
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2311/src Modified Files: badguy.cpp player.cpp Log Message: Fixed hotspot square drawing in debug mode. Index: player.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v retrieving revision 1.91 retrieving revision 1.92 diff -u -d -r1.91 -r1.92 --- player.cpp 11 May 2004 22:12:42 -0000 1.91 +++ player.cpp 11 May 2004 23:15:45 -0000 1.92 @@ -632,7 +632,7 @@ } if (debug_mode) - fillrect(base.x, base.y, + fillrect(base.x - scroll_x, base.y - scroll_y, base.width, base.height, 75,75,75, 150); } Index: badguy.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/badguy.cpp,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- badguy.cpp 11 May 2004 22:12:41 -0000 1.69 +++ badguy.cpp 11 May 2004 23:15:43 -0000 1.70 @@ -749,7 +749,7 @@ sprite->draw(base.x, base.y); if (debug_mode) - fillrect(base.x, base.y, base.width, base.height, 75,0,75, 150); + fillrect(base.x - scroll_x, base.y - scroll_y, base.width, base.height, 75,0,75, 150); } void |