Update Config.hpp

This commit is contained in:
0TheSpy
2021-06-17 01:47:52 +03:00
committed by GitHub
parent 5a476890e5
commit e1b16daa74

View File

@ -71,8 +71,8 @@ public:
opt.loading = 1;
if (file_exists("seaside210616.cfg") ) {
std::ifstream fin("seaside210616.cfg", std::ios::binary);
if (file_exists("seaside210407.cfg") ) {
std::ifstream fin("seaside210407.cfg", std::ios::binary);
std::stringstream ss;
ss << fin.rdbuf();
@ -96,8 +96,8 @@ public:
OnLoadCfg();
}
else iff.g_pGameUI->CreateCommandMsgBox("Seaside Error", "Unable to find configuration file!", true, false, "", "", "", "", "");
else PlaySoundA((char*)"null", opt.hModuleGlobal, SND_ASYNC);
}
};