(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.
authorrubidium
Thu, 20 Sep 2007 19:21:01 +0000
changeset 8102 5a299e72a426
parent 8101 fd60816a6c13
child 8103 98ef3fd99803
(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.
src/sprite.h
--- a/src/sprite.h	Wed Sep 19 18:55:26 2007 +0000
+++ b/src/sprite.h	Thu Sep 20 19:21:01 2007 +0000
@@ -34,10 +34,10 @@
 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.*/
 };