From 1d1a4839c37fab6649dd7bd4fa1460ed74f5854c Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 2 Sep 2006 08:14:16 +0000 Subject: (svn r6303) -Codechange: Remove dead code --- gfx.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gfx.c') diff --git a/gfx.c b/gfx.c index 24fcedd1c..d0f6fd044 100644 --- a/gfx.c +++ b/gfx.c @@ -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; -- cgit v1.2.3-70-g09d2