diff options
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index 65dcce396..de3c9ec85 100644 --- a/main_gui.c +++ b/main_gui.c @@ -2349,7 +2349,7 @@ void SetupColorsAndInitialWindow(void) const byte *b = GetNonSprite(PALETTE_RECOLOR_START + i); assert(b); - _color_list[i] = *(const ColorList*)(b + 0xC6); + memcpy(_colour_gradient[i], b + 0xC6, sizeof(_colour_gradient[i])); } width = _screen.width; |