mirror of
https://github.com/minetest/irrlicht.git
synced 2025-02-22 13:50:25 +01:00
Make this easier to read
This commit is contained in:
parent
970915669f
commit
d65fe36081
@ -261,6 +261,7 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::readChunkTEXS() {
|
|||||||
if (t.contains("name") && !t["name"].is_string()) {
|
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, "\"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) +")."};
|
return {false, "Missing \"name\" in TEXS block index (" + std::to_string(index) +")."};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user