Skip to content

Commit

Permalink
Fixed config bug with ForceSuccess options
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Jan 30, 2021
1 parent 0c2db6f commit 1df3f97
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Config/src/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ std::map<std::string, std::map<std::string, void*>> configMap = {
}},
{"DLC", {
{"UnlockAllDLC", &bUnlockAllDLC},
{"OfflineSupport", &bForceSuccess},
{"ForceSuccess", &bForceSuccess},
}},
};

Expand Down Expand Up @@ -99,7 +99,7 @@ void init(const std::wstring iniPath){
int parseResult = ini_wparse(iniPath.c_str(), iniHandler, 0);

if(parseResult != 0 && parseResult != -1){
showError("Unexpected config parse result: " + std::to_string(parseResult));
showError("Unexpected config parse result at line: " + std::to_string(parseResult));
exit(1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion ScreamAPI/ScreamAPI.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; ScreamAPI Config File v1.10.2-1
; ScreamAPI Config File v1.10.2-2

; Official ScreamAPI forum topic: https://cs.rin.ru/forum/viewtopic.php?f=29&t=106474
; Latest release download link: https://github.com/acidicoala/ScreamAPI/releases/latest
Expand Down
2 changes: 1 addition & 1 deletion ScreamAPI/resources/ScreamAPI.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<ScreamApiVersion>1.10.2-1</ScreamApiVersion>
<ScreamApiVersion>1.10.2-2</ScreamApiVersion>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup />
Expand Down
6 changes: 3 additions & 3 deletions ScreamAPI/resources/ScreamAPI.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,10,2,1
PRODUCTVERSION 1,10,2,1
FILEVERSION 1,10,2,2
PRODUCTVERSION 1,10,2,2
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -74,7 +74,7 @@ BEGIN
VALUE "LegalCopyright", "Fuck the copyright >:D"
VALUE "OriginalFilename", "ScreamAPI.dll"
VALUE "ProductName", "ScreamAPI"
VALUE "ProductVersion", "1.10.2-1"
VALUE "ProductVersion", "1.10.2-2"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 1df3f97

Please sign in to comment.