refactor(Tools): restyle tools with astyle (#3465)

This commit is contained in:
Kargatum
2020-10-06 16:31:28 +07:00
committed by GitHub
parent be09e03756
commit b00a86f6ab
51 changed files with 1004 additions and 936 deletions

View File

@@ -12,7 +12,7 @@
class MPQFile;
u_map_fcc MverMagic = { {'R','E','V','M'} };
u_map_fcc MverMagic = { {'R', 'E', 'V', 'M'} };
FileLoader::FileLoader()
{
@@ -54,7 +54,7 @@ bool FileLoader::loadFile(std::string const& fileName, bool log)
bool FileLoader::prepareLoadedData()
{
// Check version
version = (file_MVER *) data;
version = (file_MVER*) data;
if (version->fcc != MverMagic.fcc)
return false;
if (version->ver != FILE_FORMAT_VERSION)