diff options
author | rubidium <rubidium@openttd.org> | 2007-09-14 21:32:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-14 21:32:21 +0000 |
commit | 6f296b9870d0dcb23be911cb646ffd0518c0c1fe (patch) | |
tree | 610e715e0ab7e0e4a64eca846860b21027cc518d /src/industry_cmd.cpp | |
parent | d5171df2dfbe94dd85850682a6ccb62c106c520e (diff) | |
download | openttd-6f296b9870d0dcb23be911cb646ffd0518c0c1fe.tar.xz |
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |