diff --git a/src/scene/node/modelnodescenenode.cpp b/src/scene/node/modelnodescenenode.cpp index 47fe0075..1fd08b89 100644 --- a/src/scene/node/modelnodescenenode.cpp +++ b/src/scene/node/modelnodescenenode.cpp @@ -138,7 +138,7 @@ bool ModelNodeSceneNode::shouldRender() const { } bool ModelNodeSceneNode::shouldCastShadows() const { - if (_modelSceneNode->classification() == ModelSceneNode::Classification::Door) return false; + if (_modelSceneNode->classification() != ModelSceneNode::Classification::Creature) return false; shared_ptr mesh(_modelNode->mesh());