style fix: indentation

This commit is contained in:
Krishty
2021-07-29 14:39:22 +02:00
parent fc22d6cdae
commit 42a7611f85
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -516,13 +516,13 @@ namespace pmx
stream->read((char*) magic, sizeof(char) * 4);
if (magic[0] != 0x50 || magic[1] != 0x4d || magic[2] != 0x58 || magic[3] != 0x20)
{
throw DeadlyImportError("MMD: Invalid magic number.");
}
throw DeadlyImportError("MMD: Invalid magic number.");
}
stream->read((char*) &version, sizeof(float));
if (version != 2.0f && version != 2.1f)
{
throw DeadlyImportError("MMD: Unsupported version (must be 2.0 or 2.1): ", ai_to_string(version));
}
}
this->setting.Read(stream);
this->model_name = ReadString(stream, setting.encoding);