Fix error

This commit is contained in:
PokeCodec committed 2020-09-04 19:49:52 -04:00
1 parent 987ef556e5
commit 5a375b9236
1 file changed
+2 -2
+2 -2
View File
@@ -5248,12 +5248,12 @@ void SetSearchRectHighlight(u8 flags, u8 x, u8 y, u8 width)
temp &= 0xFFF;
temp |= (flags << 12);
*(u16 *)(ptr + (y*64 + (x + i)*2) = temp;
*(u16 *)(ptr + (y*64 + (x + i)*2)) = temp;
temp = *(u16 *)(ptr + (y + 1)*64 + (x + i)*2);
temp &= 0xFFF;
temp |= (flags << 12);
*(u16 *)(ptr + (y + 1)*64 + (x + i)*2) = temp;
*(u16 *)(ptr + (y + 1)*64 + (x + i)*2)) = temp;
}
}