Merge branch 'master' of github.com:Wargus/stratagus
This commit is contained in:
commit
d37b366456
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue