1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Merge pull request #5708 from IntelOrca/reduce-headless-memory-footprint

Reduce memory footprint for headless instances
This commit is contained in:
Ted John
2017-06-26 14:41:55 +01:00
committed by GitHub
12 changed files with 43 additions and 13 deletions

View File

@@ -38,6 +38,10 @@ enum
void colours_init_maps()
{
if (g1Elements == NULL) {
return;
}
// Get colour maps from g1
for (sint32 i = 0; i < 32; i++) {
rct_g1_element *g1Element = &g1Elements[SPR_PALETTE_2_START + i];