mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r5597) Remove the unused attribute ground_child from struct ViewportDrawer
This commit is contained in:
parent
469f7d039a
commit
915a398efe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user