mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-15 23:10:26 +01:00
Fix this up
This commit is contained in:
parent
3f87764a94
commit
11e73fa99e
|
@ -169,8 +169,7 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::load() {
|
||||||
return {false, "No format in B3D JSON! Expected: BB3D"};
|
return {false, "No format in B3D JSON! Expected: BB3D"};
|
||||||
}
|
}
|
||||||
if (!JSONDataContainer.contains("version") || !JSONDataContainer["version"].is_number_integer() || JSONDataContainer["version"] != 1) {
|
if (!JSONDataContainer.contains("version") || !JSONDataContainer["version"].is_number_integer() || JSONDataContainer["version"] != 1) {
|
||||||
os::Printer::log("Wrong version in B3D JSON! Expected: 1", ELL_WARNING);
|
return {false, "Wrong version in B3D JSON! Expected: 1"};
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Remember: This is basically a linked tree.
|
//! Remember: This is basically a linked tree.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user