summaryrefslogtreecommitdiff
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
commit79e1f4eea0a959eee53a79385b16bd5e75936853 (patch)
tree96b046c73d36008f37e062da924670775f218dde
parentb6ee5ee4c5e796eeb472c270395b279ffde53518 (diff)
downloadopenttd-79e1f4eea0a959eee53a79385b16bd5e75936853.tar.xz
(svn r5597) Remove the unused attribute ground_child from struct ViewportDrawer
-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;