I checked and it worked for me with = operator, unsure about ^=

This commit is contained in:
mimooh 2016-11-17 22:44:24 +01:00
parent 036e0bbb47
commit 75700100c4

View file

@ -223,7 +223,7 @@ int LuaLoadFile(const std::string &file, const std::string &strArg)
content.erase(std::remove(content.begin(), content.end(), '\r'), content.end());
// FileChecksums ^= fletcher32(content);
// https://github.com/Wargus/stratagus/issues/196, disable for now.
FileChecksums ^= 0;
FileChecksums = 0;
}
const int status = luaL_loadbuffer(Lua, content.c_str(), content.size(), file.c_str());