mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-12 01:24:54 +00:00
(svn r22418) -Fix (r22417): Messed up the palette detection of the extra base grf.
This commit is contained in:
parent
bfd09004fe
commit
c7a9c7dc92
@ -183,7 +183,7 @@ static void LoadSpriteTables()
|
|||||||
* setting one, use the palette of the base set and not the global
|
* setting one, use the palette of the base set and not the global
|
||||||
* one which might be the wrong palette for this base NewGRF.
|
* one which might be the wrong palette for this base NewGRF.
|
||||||
* The value set here might be overridden via action14 later. */
|
* The value set here might be overridden via action14 later. */
|
||||||
switch (_use_palette) {
|
switch (used_set->palette) {
|
||||||
case PAL_DOS: master->palette |= GRFP_GRF_DOS; break;
|
case PAL_DOS: master->palette |= GRFP_GRF_DOS; break;
|
||||||
case PAL_WINDOWS: master->palette |= GRFP_GRF_WINDOWS; break;
|
case PAL_WINDOWS: master->palette |= GRFP_GRF_WINDOWS; break;
|
||||||
default: break;
|
default: break;
|
||||||
|
Loading…
Reference in New Issue
Block a user