- added a new function to correct some file paths when loading a saved game from another persons computer (may need more tweaking)

- added support for saving and loading tables from Lua
This commit is contained in:
Mark Vejvoda
2012-03-29 18:14:25 +00:00
parent c13e0ef788
commit f3df72bb14
8 changed files with 323 additions and 151 deletions

View File

@@ -749,7 +749,7 @@ bool fileExists(const string &path) {
#ifdef WIN32
int fileErrno = errno;
DWORD error = GetLastError();
string strError = "Could not open file, result: " + intToStr(error) + " - " + intToStr(fileErrno) + " " + strerror(fileErrno) + " [" + path + "]";
string strError = "[#6] Could not open file, result: " + intToStr(error) + " - " + intToStr(fileErrno) + " " + strerror(fileErrno) + " [" + path + "]";
#endif
}
return false;