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
commit80772e9b3582d78c85fefbce770f1dda4f28a9cc (patch)
tree8a0d4266d9e3a7dd1f6b964fb0e80f7b012b5c97 /src/sprite.h
parentd578a0868eec63a5463a60c07d602eb6b9e3893b (diff)
downloadopenttd-80772e9b3582d78c85fefbce770f1dda4f28a9cc.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.*/
};