refactor(Tools): restyle tools with astyle (#3465)
This commit is contained in:
parent
be09e03756
commit
b00a86f6ab
51 changed files with 1004 additions and 936 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue