forked from teamnwah/openmw-tes3coop
[General] Use correct credits checksum and move it to Version.hpp
This commit is contained in:
parent
0f36c3ea24
commit
646111d998
2 changed files with 3 additions and 1 deletions
|
@ -208,7 +208,7 @@ int main(int argc, char *argv[])
|
|||
folderPath = boost::filesystem::system_complete(boost::filesystem::path(argv[0])).remove_filename();
|
||||
std::string creditsPath = folderPath.string() + "/tes3mp-credits";
|
||||
|
||||
unsigned int expectedChecksumInt = Utils::hexStrToInt("E9CF9D8B");
|
||||
unsigned int expectedChecksumInt = Utils::hexStrToInt(TES3MP_CREDITS_CHECKSUM);
|
||||
bool hasValidCredits = Utils::doesFileHaveChecksum(creditsPath + ".md", expectedChecksumInt);
|
||||
|
||||
if (!hasValidCredits)
|
||||
|
|
|
@ -7,4 +7,6 @@
|
|||
#define TES3MP_DEFAULT_PASSW "SuperPassword"
|
||||
#define TES3MP_MASTERSERVER_PASSW "12345"
|
||||
|
||||
#define TES3MP_CREDITS_CHECKSUM "02003664"
|
||||
|
||||
#endif //OPENMW_VERSION_HPP
|
||||
|
|
Loading…
Reference in a new issue