diff --git a/apps/openmw-mp/main.cpp b/apps/openmw-mp/main.cpp index 12be4405f..be7ba6e16 100644 --- a/apps/openmw-mp/main.cpp +++ b/apps/openmw-mp/main.cpp @@ -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) diff --git a/components/openmw-mp/Version.hpp b/components/openmw-mp/Version.hpp index 29766ad5f..b57d409b4 100644 --- a/components/openmw-mp/Version.hpp +++ b/components/openmw-mp/Version.hpp @@ -7,4 +7,6 @@ #define TES3MP_DEFAULT_PASSW "SuperPassword" #define TES3MP_MASTERSERVER_PASSW "12345" +#define TES3MP_CREDITS_CHECKSUM "02003664" + #endif //OPENMW_VERSION_HPP