From: Ricardo Cruz Date: Wed, 19 May 2004 18:22:48 +0000 (+0000) Subject: Don't do string objects tests this way! X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a478f5cb3a878e997b3d91ebaa53f938d5d51411;p=supertux.git Don't do string objects tests this way! SVN-Revision: 1272 --- diff --git a/src/gameobjs.cpp b/src/gameobjs.cpp index bb212aa27..8787bb91c 100644 --- a/src/gameobjs.cpp +++ b/src/gameobjs.cpp @@ -159,7 +159,7 @@ BouncyBrick::draw() // 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,