summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-07-23 08:40:49 +0000
committertron <tron@openttd.org>2006-07-23 08:40:49 +0000
commit915a398efe37e65efad30296a90c2c8b7b217f25 (patch)
tree96b046c73d36008f37e062da924670775f218dde /viewport.c
parent469f7d039a6463ef8c3acc5456bf5398a49cdab3 (diff)
downloadopenttd-915a398efe37e65efad30296a90c2c8b7b217f25.tar.xz
(svn r5597) Remove the unused attribute ground_child from struct ViewportDrawer
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/viewport.c b/viewport.c
index 990f58cec..c215d95f4 100644
--- a/viewport.c
+++ b/viewport.c
@@ -88,7 +88,6 @@ typedef struct ViewportDrawer {
byte combine_sprites;
int offs_x, offs_y; // used when drawing ground sprites relative
- bool ground_child;
} ViewportDrawer;
static ViewportDrawer *_cur_vd;
@@ -1180,7 +1179,6 @@ void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom
mask = (-1) << vp->zoom;
vd.combine_sprites = 0;
- vd.ground_child = 0;
vd.dpi.width = (right - left) & mask;
vd.dpi.height = (bottom - top) & mask;