diff --git a/stepmania/src/AutoActor.cpp b/stepmania/src/AutoActor.cpp index 6d280a9054..500f28b45e 100644 --- a/stepmania/src/AutoActor.cpp +++ b/stepmania/src/AutoActor.cpp @@ -14,6 +14,10 @@ void AutoActor::Load( const CString &sPath ) { Unload(); m_pActor = ActorUtil::MakeActor( sPath ); + + /* If a Condition is false, MakeActor will return NULL. */ + if( m_pActor == NULL ) + m_pActor = new Actor; } void AutoActor::LoadFromNode( const CString &sDir, const XNode* pNode )