The big NULL replacement party part 3.
Getting there I think.
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ void AutoActor::Load( const RString &sPath )
|
||||
Unload();
|
||||
m_pActor = ActorUtil::MakeActor( sPath );
|
||||
|
||||
// If a Condition is false, MakeActor will return NULL.
|
||||
// If a Condition is false, MakeActor will return nullptr.
|
||||
if( m_pActor == nullptr )
|
||||
m_pActor = new Actor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user