mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-09-19 12:16:13 +08:00
Update Config.hpp
This commit is contained in:
@ -71,8 +71,8 @@ public:
|
|||||||
|
|
||||||
opt.loading = 1;
|
opt.loading = 1;
|
||||||
|
|
||||||
if (file_exists("seaside210616.cfg") ) {
|
if (file_exists("seaside210407.cfg") ) {
|
||||||
std::ifstream fin("seaside210616.cfg", std::ios::binary);
|
std::ifstream fin("seaside210407.cfg", std::ios::binary);
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss << fin.rdbuf();
|
ss << fin.rdbuf();
|
||||||
|
|
||||||
@ -95,9 +95,9 @@ public:
|
|||||||
fin.close();
|
fin.close();
|
||||||
|
|
||||||
OnLoadCfg();
|
OnLoadCfg();
|
||||||
}
|
}
|
||||||
else iff.g_pGameUI->CreateCommandMsgBox("Seaside Error", "Unable to find configuration file!", true, false, "", "", "", "", "");
|
|
||||||
|
|
||||||
|
else PlaySoundA((char*)"null", opt.hModuleGlobal, SND_ASYNC);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user