From a2efccd6d59050b46ab52e323a51e2327f52500f Mon Sep 17 00:00:00 2001 From: PokeCodec Date: Tue, 25 Aug 2020 16:11:23 -0400 Subject: remove outside parenthesis --- src/contest_painting.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/contest_painting.c b/src/contest_painting.c index 5ec774d82..a0c39dfc7 100644 --- a/src/contest_painting.c +++ b/src/contest_painting.c @@ -404,9 +404,9 @@ static void _InitContestMonPixels(u8 *spriteGfx, u16 *palette, u16 (*destPixels) colorIndex &= 0xF; // %=16 works here too. Both match if (colorIndex == 0) // transparent pixel - (*destPixels)[(tileY * 8 + pixelY)][(tileX * 8 + pixelX)] = 0x8000; + (*destPixels)[tileY * 8 + pixelY][tileX * 8 + pixelX] = 0x8000; else - (*destPixels)[(tileY * 8 + pixelY)][(tileX * 8 + pixelX)] = palette[colorIndex]; + (*destPixels)[tileY * 8 + pixelY][tileX * 8 + pixelX] = palette[colorIndex]; } } } -- cgit v1.2.3