Add setting to disable "big GUI" NewGRFs
This commit is contained in:
@@ -10525,6 +10525,9 @@ void LoadNewGRF(uint load_index, uint num_baseset)
|
||||
*/
|
||||
for (GRFConfig *c = _grfconfig; c != nullptr; c = c->next) {
|
||||
if (c->status != GCS_NOT_FOUND) c->status = GCS_UNKNOWN;
|
||||
if (_settings_client.gui.newgrf_disable_big_gui && c->ident.grfid == BSWAP32(0x52577801)) {
|
||||
c->status = GCS_DISABLED;
|
||||
}
|
||||
}
|
||||
|
||||
_cur.spriteid = load_index;
|
||||
|
Reference in New Issue
Block a user