diff --git a/Core/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw/W3DDependencyModelDraw.cpp b/Core/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw/W3DDependencyModelDraw.cpp index 07e057d4a42..693b4ff1710 100644 --- a/Core/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw/W3DDependencyModelDraw.cpp +++ b/Core/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw/W3DDependencyModelDraw.cpp @@ -129,6 +129,7 @@ void W3DDependencyModelDraw::adjustTransformMtx(Matrix3D& mtx) const if( md->m_attachToDrawableBoneInContainer.isNotEmpty() && me && me->getContainedBy() + && me->getContainedBy()->getContain() && !me->getContainedBy()->getContain()->isEnclosingContainerFor(me) ) {