summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-22 11:01:30 +0000
committertron <tron@openttd.org>2004-11-22 11:01:30 +0000
commit8a3d7cce1c94fd12a4c05a1672868c56c7ff0d14 (patch)
tree9f598bd9e7fb89af2cdf88e9ef08686b7681ecee /table
parenta744e8e375d2ac6da60fbd3607ee88f37a285ff5 (diff)
downloadopenttd-8a3d7cce1c94fd12a4c05a1672868c56c7ff0d14.tar.xz
(svn r760) Replace some bit-juggling with bit fields
Diffstat (limited to 'table')
-rw-r--r--table/town_land.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/town_land.h b/table/town_land.h
index 01b3a26e5..884195212 100644
--- a/table/town_land.h
+++ b/table/town_land.h
@@ -1,4 +1,4 @@
-#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 DrawTownTileStruct _town_draw_tile_data[] = {
M( 0xf54, 0x58d, 0, 0, 14, 14, 8, 0),