From 48b71782fe2e44f94712e4b4a470d452d53bc190 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sat, 11 Jul 2015 21:58:33 +0100 Subject: [PATCH] fix sub_679023 --- src/interface/viewport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface/viewport.c b/src/interface/viewport.c index 4e3217ca95..ec8ad17070 100644 --- a/src/interface/viewport.c +++ b/src/interface/viewport.c @@ -2358,12 +2358,12 @@ void sub_679023(rct_drawpixelinfo *dpi, int imageId, int x, int y) if (imageId & 0x80000000) { index &= 0x1F; } - int g1Index = RCT2_ADDRESS(0x0097FCBC, uint32)[index] << 4; + int g1Index = RCT2_ADDRESS(0x0097FCBC, uint32)[index]; RCT2_GLOBAL(0x009ABDA4, uint8*) = g1Elements[g1Index].offset; } else { RCT2_GLOBAL(0x00EDF81C, uint32) = 0; - sub_679074(dpi, imageId, x, y); } + sub_679074(dpi, imageId, x, y); } /**