diff --git a/apps/openmw/main.cpp b/apps/openmw/main.cpp index b4cac3e2f..088ef261f 100644 --- a/apps/openmw/main.cpp +++ b/apps/openmw/main.cpp @@ -214,35 +214,6 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat End of tes3mp change (minor) */ - /* - Start of tes3mp addition - - Check for unmodified tes3mp-credits file on Windows; this makes it so people can't repackage official - releases with their own made-up credits, though it obviously has no bearing on unofficial releases that - change the checksum below - */ -#ifdef _WIN32 - - std::string creditsPath = (cfgMgr.getLocalPath() / "tes3mp-credits").string(); - - unsigned int expectedChecksumInt = Utils::hexStrToInt(TES3MP_CREDITS_CHECKSUM); - bool hasValidCredits = Utils::doesFileHaveChecksum(creditsPath + ".md", expectedChecksumInt); - - if (!hasValidCredits) - hasValidCredits = Utils::doesFileHaveChecksum(creditsPath + ".txt", expectedChecksumInt); - - if (!hasValidCredits) - { - LOG_MESSAGE_SIMPLE(TimedLog::LOG_FATAL, "The client is shutting down"); - LOG_APPEND(TimedLog::LOG_FATAL, "- %s", TES3MP_CREDITS_ERROR); - SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", TES3MP_CREDITS_ERROR, 0); - return false; - } -#endif - /* - End of tes3mp addition - */ - engine.setGrabMouse(!variables["no-grab"].as()); // Font encoding settings diff --git a/components/openmw-mp/Version.hpp b/components/openmw-mp/Version.hpp index 7c8b6eff2..5cc898b0d 100644 --- a/components/openmw-mp/Version.hpp +++ b/components/openmw-mp/Version.hpp @@ -7,7 +7,5 @@ #define TES3MP_DEFAULT_PASSW "SuperPassword" #define TES3MP_MASTERSERVER_PASSW "12345" -#define TES3MP_CREDITS_CHECKSUM "51B652F0" - #endif //OPENMW_VERSION_HPP