summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-14 21:32:21 +0000
committerrubidium <rubidium@openttd.org>2007-09-14 21:32:21 +0000
commit6f296b9870d0dcb23be911cb646ffd0518c0c1fe (patch)
tree610e715e0ab7e0e4a64eca846860b21027cc518d /src/table
parentd5171df2dfbe94dd85850682a6ccb62c106c520e (diff)
downloadopenttd-6f296b9870d0dcb23be911cb646ffd0518c0c1fe.tar.xz
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/industry_land.h2
-rw-r--r--src/table/town_land.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/table/industry_land.h b/src/table/industry_land.h
index cbab09c43..1f41101fa 100644
--- a/src/table/industry_land.h
+++ b/src/table/industry_land.h
@@ -39,7 +39,7 @@ struct DrawIndustryCoordinates {
* @param dz virtual height of the sprite
* @param p this allows to specify a special drawing procedure.
* @see DrawBuildingsTileStruct */
-#define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w - 1, h - 1, dz, p }
+#define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w, h, dz, p }
/** Structure for industry tiles drawing */
static const DrawBuildingsTileStruct _industry_draw_tile_data[NEW_INDUSTRYTILEOFFSET * 4] = {
diff --git a/src/table/town_land.h b/src/table/town_land.h
index 3e5b244bb..89d7d30a1 100644
--- a/src/table/town_land.h
+++ b/src/table/town_land.h
@@ -15,7 +15,7 @@
* @param dz the virtual height of the sprite
* @param p set to 1 if a lift is present ()
* @see DrawBuildingsTileStruct */
-#define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w - 1, h - 1, dz, p}
+#define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w, h, dz, p}
/** structure of houses graphics*/
static const DrawBuildingsTileStruct _town_draw_tile_data[] = {