diff options
author | tron <tron@openttd.org> | 2006-09-02 08:14:16 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-09-02 08:14:16 +0000 |
commit | 609ffadf70e0f85a41aa671871ce7da82eb049aa (patch) | |
tree | dc62deb5ac1fa0cb5acde24ffc8f23207cf2b22d /gfx.c | |
parent | 27b8ad2b58c27546e4d5e0aa4c69b85b1b330c9b (diff) | |
download | openttd-609ffadf70e0f85a41aa671871ce7da82eb049aa.tar.xz |
(svn r6303) -Codechange: Remove dead code
Diffstat (limited to 'gfx.c')
-rw-r--r-- | gfx.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -656,12 +656,10 @@ void DrawSprite(uint32 img, int x, int y) typedef struct BlitterParams { int start_x, start_y; const byte *sprite; - const byte *sprite_org; Pixel *dst; int mode; int width, height; int width_org; - int height_org; int pitch; } BlitterParams; @@ -1359,8 +1357,8 @@ static void GfxMainBlitter(const Sprite *sprite, int x, int y, int mode) x += sprite->x_offs; y += sprite->y_offs; bp.width_org = bp.width = sprite->width; - bp.height_org = bp.height = sprite->height; - bp.sprite_org = bp.sprite = sprite->data; + bp.height = sprite->height; + bp.sprite = sprite->data; bp.dst = dpi->dst_ptr; bp.mode = mode; bp.pitch = dpi->pitch; |