Core/Build: Fix linking and sooo many compile warnings

This commit is contained in:
Spp committed 2013-01-09 13:13:39 +01:00
1 parent d36d2eac76
commit 5f15600e7a
37 files changed
+469 -304

No files matched your search

+3 -1
View File
@@ -6,6 +6,8 @@
class MPQFile;
u_map_fcc MverMagic = { {'M','V','E','R'} };
FileLoader::FileLoader()
{
data = 0;
@@ -49,7 +51,7 @@ bool FileLoader::prepareLoadedData()
{
// Check version
version = (file_MVER *) data;
if (version->fcc != 'MVER')
if (version->fcc != MverMagic.fcc)
return false;
if (version->ver != FILE_FORMAT_VERSION)
return false;