From a478f5cb3a878e997b3d91ebaa53f938d5d51411 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Wed, 19 May 2004 18:22:48 +0000 Subject: [PATCH] Don't do string objects tests this way! SVN-Revision: 1272 --- src/gameobjs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.0