diff options
-rw-r--r-- | engines/sci/gfx/palette.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/gfx/palette.cpp b/engines/sci/gfx/palette.cpp index 018dd9f5d6..cb9653cacd 100644 --- a/engines/sci/gfx/palette.cpp +++ b/engines/sci/gfx/palette.cpp @@ -49,6 +49,8 @@ Palette::Palette(const gfx_pixmap_color_t *colors, uint s) { _colors[i].r = colors[i].r; _colors[i].g = colors[i].g; _colors[i].b = colors[i].b; + _colors[i].refcount = 0; + _colors[i].parent_index = -1; } } |