summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-20 19:21:01 +0000
committerrubidium <rubidium@openttd.org>2007-09-20 19:21:01 +0000
commit2ce95b9fd06b6f4d3ce14bab8a85ef91bff718db (patch)
tree8a0d4266d9e3a7dd1f6b964fb0e80f7b012b5c97 /src/sprite.h
parent5fe04f2db718b38e05750b98439ede5429d48771 (diff)
downloadopenttd-2ce95b9fd06b6f4d3ce14bab8a85ef91bff718db.tar.xz
(svn r11133) -Fix (r11102) [FS#1245]: in some cases vehicles would be drawn over houses when they should be drawn behind the houses. Patch by frosch.
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sprite.h b/src/sprite.h
index 4d073ecc3..e2654c2af 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -34,10 +34,10 @@ struct DrawTileSprites {
struct DrawBuildingsTileStruct {
PalSpriteID ground;
PalSpriteID building;
- byte subtile_x:4;
- byte subtile_y:4;
- byte width:4;
- byte height:4;
+ byte subtile_x;
+ byte subtile_y;
+ byte width;
+ byte height;
byte dz;
byte draw_proc; /* this allows to specify a special drawing procedure.*/
};