summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-16 11:55:06 +0000
committertron <tron@openttd.org>2005-11-16 11:55:06 +0000
commitdb012c135e046f5b9151c66e56b0f9f1654911e1 (patch)
tree61593ce65d7a1ce19d929e8790b16c384a092087 /table
parent45186b16010cb979ef9d7e4613fef81690bb6937 (diff)
downloadopenttd-db012c135e046f5b9151c66e56b0f9f1654911e1.tar.xz
(svn r3195) Use bitfields instead of explicit shifting/masking
Diffstat (limited to 'table')
-rw-r--r--table/industry_land.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/industry_land.h b/table/industry_land.h
index 19629f4f0..6c5cc14ec 100644
--- a/table/industry_land.h
+++ b/table/industry_land.h
@@ -1,6 +1,6 @@
/* $Id$ */
-#define M(s1,s2,sx,sy,w,h,dz,p) {s1,s2,(sx<<4)|sy,((w-1)<<4)|(h-1),dz,p}
+#define M(s1, s2, sx, sy, w, h, dz, p) { s1, s2, sx, sy, w - 1, h - 1, dz, p }
static const DrawIndustryTileStruct _industry_draw_tile_data[700] = {
M( 0xf54, 0x7db, 7, 0, 9, 9, 10, 0),