Make this easier to read

This commit is contained in:
jordan4ibanez 2023-11-28 07:35:57 -05:00
parent 970915669f
commit d65fe36081
1 changed files with 2 additions and 1 deletions

View File

@ -257,10 +257,11 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::readChunkTEXS() {
B3DTexture.TextureName.replace('\\','/');
} else {
if (t.contains("name") && !t["name"].is_string()) {
return {false, "\"name\" in TEXS block index (" + std::to_string(index) +") is not a string."};
}
return {false, "Missing \"name\" in TEXS block index (" + std::to_string(index) +")."};
}