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

Added title restriction to new window

This commit is contained in:
Robert Jordan
2015-06-19 10:58:56 -04:00
parent 28f4774c92
commit febe925f52

View File

@@ -840,7 +840,7 @@ static int cc_open(const char **argv, int argc) {
window_editor_object_selection_open();
} else if (strcmp(argv[0], "inventions_list") == 0 && invalidArguments(&invalidTitle, !title)) {
window_editor_inventions_list_open();
} else if (strcmp(argv[0], "scenario_options") == 0) {
} else if (strcmp(argv[0], "scenario_options") == 0 && invalidArguments(&invalidTitle, !title)) {
window_editor_scenario_options_open();
} else if (strcmp(argv[0], "options") == 0) {
window_options_open();
@@ -896,6 +896,7 @@ char* console_variable_table[] = {
char* console_window_table[] = {
"object_selection",
"inventions_list",
"scenario_options",
"options",
"themes"
};