From 556035f4489176ecc9863f80cccbcfc9070d2e66 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 14 Sep 2007 21:32:21 +0000 Subject: (svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch. --- src/industry_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/industry_cmd.cpp') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 260e84065..97adbb84e 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -299,8 +299,8 @@ static void DrawTile_Industry(TileInfo *ti) (HASBIT(image, PALETTE_MODIFIER_COLOR) && dits->building.pal == PAL_NONE) ? GENERAL_SPRITE_COLOR(ind->random_color) : dits->building.pal, ti->x + dits->subtile_x, ti->y + dits->subtile_y, - dits->width + 1, - dits->height + 1, + dits->width, + dits->height, dits->dz, ti->z, HASBIT(_transparent_opt, TO_INDUSTRIES)); -- cgit v1.2.3-54-g00ecf