1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 19:19:09 +00:00

(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.

This commit is contained in:
rubidium
2008-09-04 19:43:20 +00:00
parent 2f350316b6
commit 72b72bb368
2 changed files with 18 additions and 0 deletions

View File

@@ -195,6 +195,8 @@ static bool DetermineGraphicsPack()
return _used_graphics_set != NULL;
}
extern void UpdateNewGRFConfigPalette();
/**
* Determine the palette that has to be used.
* - forced palette via command line -> leave it that way
@@ -219,6 +221,8 @@ static void DeterminePalette()
default:
NOT_REACHED();
}
UpdateNewGRFConfigPalette();
}
/**