diff options
author | PokeCodec <doremylover456@gmail.com> | 2020-08-25 16:11:23 -0400 |
---|---|---|
committer | PokeCodec <doremylover456@gmail.com> | 2020-08-25 16:11:23 -0400 |
commit | a2efccd6d59050b46ab52e323a51e2327f52500f (patch) | |
tree | b4babca44e1c60b5aad716f0f1a8a925b072ab65 /src | |
parent | ba853d6b39be12b8ce6954401d124c6f580a984d (diff) |
remove outside parenthesis
Diffstat (limited to 'src')
-rw-r--r-- | src/contest_painting.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } } } |