-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(game/cli): use correct build with interned shortcut
Followup fix for: ebdb92d Reported in: #3015 After changing the build flag parsing startegy, build flag in internet shortcut started to get ignored. This is because we replaced general search through the CLI string with exact arcgument match. Parse internet stortcut flags and append the build flag as a separate argument to CLI. If at some point we decide to refactor parsing for all CLI flags (not just build and pure mode) - we should extract those flags from internet shortcut string as well.
- Loading branch information
1 parent
c970038
commit c8c2815
Showing
3 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ inline int GetPureLevel() | |
break; | ||
} | ||
} | ||
LocalFree(wargv); | ||
|
||
return pureLevel; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ int GetRequestedGameBuildInit() | |
} | ||
} | ||
} | ||
LocalFree(wargv); | ||
|
||
return buildNumber; | ||
} | ||
|