Merge branch 'master' of github.com:Wargus/stratagus

This commit is contained in:
Tim Felgentreff 2016-11-18 13:14:41 +01:00
commit d37b366456

View file

@ -221,7 +221,9 @@ int LuaLoadFile(const std::string &file, const std::string &strArg)
// First, remove '\r' characters from the input. These are
// added, for example, by Windows Git, and should be ignored
content.erase(std::remove(content.begin(), content.end(), '\r'), content.end());
FileChecksums ^= fletcher32(content);
// FileChecksums ^= fletcher32(content);
// https://github.com/Wargus/stratagus/issues/196, disable for now.
FileChecksums = 0;
}
const int status = luaL_loadbuffer(Lua, content.c_str(), content.size(), file.c_str());