Codechange: Define GRFConfigList alias and pass by reference. (#13358)
This adds the distinction between a single GRFConfig and a GRFConfig list, and simplifies how GRFConfig lists are passed to various functions.
This commit is contained in:
@@ -862,7 +862,7 @@ struct GenerateLandscapeWindow : public Window {
|
||||
break;
|
||||
|
||||
case WID_GL_NEWGRF_BUTTON: ///< NewGRF Settings
|
||||
ShowNewGRFSettings(true, true, false, &_grfconfig_newgame);
|
||||
ShowNewGRFSettings(true, true, false, _grfconfig_newgame);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user