1
0
mirror of https://github.com/minetest/irrlicht.git synced 2025-07-12 05:10:21 +02:00

Fix null dereference reported by coverity ()

This commit is contained in:
JosiahWI
2022-07-04 05:12:33 -05:00
committed by GitHub
parent 6064e12133
commit 6db035e0aa

@ -276,6 +276,7 @@ void CAnimatedMeshSceneNode::render()
#ifdef _DEBUG #ifdef _DEBUG
os::Printer::log("Animated Mesh returned no mesh to render.", Mesh->getDebugName(), ELL_WARNING); os::Printer::log("Animated Mesh returned no mesh to render.", Mesh->getDebugName(), ELL_WARNING);
#endif #endif
return;
} }
driver->setTransform(video::ETS_WORLD, AbsoluteTransformation); driver->setTransform(video::ETS_WORLD, AbsoluteTransformation);