[Super-tux-commit] supertux/src gameobjs.cpp,1.27,1.28
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-19 18:22:58
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1537/src Modified Files: gameobjs.cpp Log Message: Don't do string objects tests this way! Index: gameobjs.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/gameobjs.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- gameobjs.cpp 18 May 2004 19:17:33 -0000 1.27 +++ gameobjs.cpp 19 May 2004 18:22:48 -0000 1.28 @@ -159,7 +159,7 @@ // FIXME: overdrawing hack to clean the tile from the screen to // paint it later at on offseted position - if(plevel->bkgd_image[0] == '\0') + if(plevel->img_bkgd) { fillrect(base.x - scroll_x, base.y - scroll_y, 32,32, |