forked from rosebudai/OpenRCT2-Web
Allow starting editor directly from command line (#26689)
This commit is contained in:
1 parent
45e30a559a
commit
e4a705b4e8
2 files changed
+3
-4
No files matched your search
@@ -2,6 +2,7 @@
|
||||
------------------------------------------------------------------------
|
||||
- Feature: [#26308] Add all new track pieces to the inverted roller coaster.
|
||||
- Feature: [#26442] Add cheat to disable grass growing.
|
||||
- Change: [#26689] A clear scenario editor can now be opened directly from the command line.
|
||||
- Fix: [#26494] The limits for where walls on the path side of the first tile block the view of rides/scenery are wrong (original bug).
|
||||
- Fix: [#26504] The boosts/penalties to excitement and nausea that air time provides are calculated wrong.
|
||||
|
||||
|
||||
@@ -261,12 +261,10 @@ namespace OpenRCT2
|
||||
}
|
||||
|
||||
const char* parkUri;
|
||||
if (!enumerator->TryPopString(&parkUri))
|
||||
if (enumerator->TryPopString(&parkUri))
|
||||
{
|
||||
Console::Error::WriteLine("Expected path or URL to a saved park.");
|
||||
return EXITCODE_FAIL;
|
||||
String::set(gOpenRCT2StartupActionPath, sizeof(gOpenRCT2StartupActionPath), parkUri);
|
||||
}
|
||||
String::set(gOpenRCT2StartupActionPath, sizeof(gOpenRCT2StartupActionPath), parkUri);
|
||||
|
||||
gOpenRCT2StartupAction = StartupAction::edit;
|
||||
return EXITCODE_CONTINUE;
|
||||
|
||||
Reference in new issue
Block a user