Now inline this

This commit is contained in:
jordan4ibanez 2023-11-28 05:10:07 -05:00
parent ec907d8771
commit 58e058143c
1 changed files with 2 additions and 4 deletions

View File

@ -228,14 +228,12 @@ IAnimatedMesh* CB3DJSONMeshFileLoader::createMesh(io::IReadFile* file) {
// Less than zero? What is this file a black hole?
if (file->getSize() <= 0) {
this->cleanUp("B3D JSON severe error! File size is 0!");
return AnimatedMesh;
return(this->cleanUp("B3D JSON severe error! File size is 0!"));
}
// Try to read this file.
if (!this->parseJSONFile(file)) {
this->cleanUp("B3D JSON severe error! File size is 0!");
return AnimatedMesh;
return(this->cleanUp("B3D JSON severe error! File size is 0!"));
}