1
0

Actually, maybe more functional approach is better

This commit is contained in:
jordan4ibanez
2023-11-28 05:03:08 -05:00
parent 132f1ae5d6
commit a8f67ace8e
2 changed files with 1 additions and 8 deletions

View File

@@ -217,6 +217,7 @@ IAnimatedMesh* CB3DJSONMeshFileLoader::createMesh(io::IReadFile* file) {
output[file->getSize()] = '\0';
// We have to catch a JSON parse error or else the game will segfault.
json data;
try {
data = json::parse(output);
} catch (const json::parse_error& e) {