Don't play "On" automatically for non-generic BGAnimations; play it

explicitly, like we do with all other objects.
This commit is contained in:
Glenn Maynard
2005-01-15 19:21:09 +00:00
parent dc7fcbc776
commit c9091a1214
14 changed files with 17 additions and 5 deletions
-3
View File
@@ -238,9 +238,6 @@ void BGAnimation::LoadFromNode( const CString &sDir, const XNode& node )
cmd.Load( "PlayCommand,Init" );
this->RunCommandOnChildren( cmd );
if( !m_bGeneric )
PlayCommand( "On" );
/* Backwards-compatibility: if a "LengthSeconds" value is present, create a dummy
* actor that sleeps for the given length of time. This will extend GetTweenTimeLeft. */
float fLengthSeconds = 0;