From 11e73fa99eb8ffaaefb5bc87b1d88234dcb9db85 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Tue, 28 Nov 2023 05:22:11 -0500 Subject: [PATCH] Fix this up --- source/Irrlicht/CB3DJSONMeshFileLoader.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp index 5724222f..94fe9faf 100644 --- a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp +++ b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp @@ -169,8 +169,7 @@ std::tuple CB3DJSONMeshFileLoader::load() { return {false, "No format in B3D JSON! Expected: BB3D"}; } 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; + return {false, "Wrong version in B3D JSON! Expected: 1"}; } //! Remember: This is basically a linked tree.