Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources

This commit is contained in:
ariel- committed 2018-03-28 04:41:59 -03:00
1 parent 7fff6c424f
commit 5ff847159c
1243 files changed
+29780 -36517

No files matched your search

+2 -2
View File
@@ -46,9 +46,9 @@ bool FileLoader::loadFile(HANDLE mpq, char* filename, bool log)
return false;
}
data_size = SFileGetFileSize(file, NULL);
data_size = SFileGetFileSize(file, nullptr);
data = new uint8[data_size];
SFileReadFile(file, data, data_size, NULL/*bytesRead*/, NULL);
SFileReadFile(file, data, data_size, nullptr/*bytesRead*/, nullptr);
if (prepareLoadedData())
{
SFileCloseFile(file);