From f107f7fc367c62c8af0659548d86d5418d794988 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 10 Nov 2009 22:18:12 +0000 Subject: AGOS: cleanup svn-id: r45819 --- engines/agos/draw.cpp | 64 +++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'engines/agos') diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp index 35023885cc..e98d0b59ea 100644 --- a/engines/agos/draw.cpp +++ b/engines/agos/draw.cpp @@ -523,7 +523,7 @@ void AGOSEngine::displayBoxStars() { uint count; uint y_, x_; byte *dst; - uint b, color; + uint color; o_haltAnimation(); @@ -572,38 +572,38 @@ void AGOSEngine::displayBoxStars() { dst += (((screen->pitch / 4) * y_) * 4) + x_; - b = screen->pitch; dst[4] = color; - dst[b+1] = color; - dst[b+4] = color; - dst[b+7] = color; - b += screen->pitch; - dst[b+2] = color; - dst[b+4] = color; - dst[b+6] = color; - b += screen->pitch; - dst[b+3] = color; - dst[b+5] = color; - b += screen->pitch; - dst[b] = color; - dst[b+1] = color; - dst[b+2] = color; - dst[b+6] = color; - dst[b+7] = color; - dst[b+8] = color; - b += screen->pitch; - dst[b+3] = color; - dst[b+5] = color; - b += screen->pitch; - dst[b+2] = color; - dst[b+4] = color; - dst[b+6] = color; - b += screen->pitch; - dst[b+1] = color; - dst[b+4] = color; - dst[b+7] = color; - b += screen->pitch; - dst[b+4] = color; + dst += screen->pitch; + dst[1] = color; + dst[4] = color; + dst[7] = color; + dst += screen->pitch; + dst[2] = color; + dst[4] = color; + dst[6] = color; + dst += screen->pitch; + dst[3] = color; + dst[5] = color; + dst += screen->pitch; + dst[0] = color; + dst[1] = color; + dst[2] = color; + dst[6] = color; + dst[7] = color; + dst[8] = color; + dst += screen->pitch; + dst[3] = color; + dst[5] = color; + dst += screen->pitch; + dst[2] = color; + dst[4] = color; + dst[6] = color; + dst += screen->pitch; + dst[1] = color; + dst[4] = color; + dst[7] = color; + dst += screen->pitch; + dst[4] = color; } } while (ha++, --count); -- cgit v1.2.3