KYRA3: Fix bug in Screen_v2::generateOverlay.
Uncovered by a valgrind warning. svn-id: r51698
This commit is contained in:
parent
65e215628d
commit
b149ca89d5
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ uint8 *Screen_v2::generateOverlay(const Palette &pal, uint8 *buffer, int startCo
|
|||
uint8 *dst = buffer;
|
||||
*dst++ = 0;
|
||||
|
||||
for (int i = 1; i != 255; ++i) {
|
||||
for (int i = 1; i != 256; ++i) {
|
||||
uint8 processedPalette[3];
|
||||
byte col;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue