fix wine bug
This commit is contained in:
parent
809a70f366
commit
d53139ca40
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ void __fastcall TConfigForm::CompatibilityBtnClick(TObject *Sender)
|
|||
void __fastcall TConfigForm::FormCreate(TObject *Sender)
|
||||
{
|
||||
/* Let cnc-ddraw create a new ddraw.ini if it doesn't exist */
|
||||
if (!FileExists(".\\ddraw.ini")) {
|
||||
if (FileExists(".\\ddraw.dll") && !FileExists(".\\ddraw.ini")) {
|
||||
|
||||
SetEnvironmentVariableW(L"cnc_ddraw_config_init", L"1");
|
||||
|
||||
|
|
Loading…
Reference in a new issue