Fix null dereference reported by coverity (#115)

This commit is contained in:
JosiahWI 2022-07-04 05:12:33 -05:00 committed by GitHub
parent 6064e12133
commit 6db035e0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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