From 3f26392bf50c647a867747333d5f95d0fd75bfb7 Mon Sep 17 00:00:00 2001 From: Trevor Finney <8711258+finneyt@users.noreply.github.com> Date: Mon, 20 Feb 2023 18:20:47 -0500 Subject: [PATCH] Correct g2 palette loading indices --- src/openrct2/drawing/Drawing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/drawing/Drawing.cpp b/src/openrct2/drawing/Drawing.cpp index b72e91493d..977f6cd3f9 100644 --- a/src/openrct2/drawing/Drawing.cpp +++ b/src/openrct2/drawing/Drawing.cpp @@ -295,8 +295,8 @@ enum SPR_PALETTE_GLASS_LIGHT_PINK = 5047, // Start of G2 Palettes - - SPR_PALETTE_DARK_OLIVE_DARK = SPR_G2_PAL_REMAP_DARK_OLIVE_DARK, + // For some reason these only load correctly if this is set to the G2 index ONE PRIOR to actual index + SPR_PALETTE_DARK_OLIVE_DARK = SPR_G2_ICON_PALETTE_INVISIBLE, SPR_PALETTE_DARK_OLIVE_LIGHT, SPR_PALETTE_SATURATED_BROWN_LIGHT, SPR_PALETTE_BORDEAUX_RED_DARK,