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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user