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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user