Pass the param table along.
This commit is contained in:
@@ -66,12 +66,12 @@ bool Transition::EarlyAbortDraw() const
|
||||
/* Our parent might send us OnCommand. We do that ourself, because
|
||||
* we sometimes want to know GetLengthSeconds before StartTransitioning.
|
||||
* Make sure we don't process OnCommand twice. */
|
||||
void Transition::PlayCommand( const RString &sCommandName )
|
||||
void Transition::PlayCommand( const RString &sCommandName, const LuaReference *pParamTable )
|
||||
{
|
||||
if( sCommandName == "On" )
|
||||
return;
|
||||
|
||||
ActorFrame::PlayCommand( sCommandName );
|
||||
ActorFrame::PlayCommand( sCommandName, pParamTable );
|
||||
}
|
||||
|
||||
void Transition::StartTransitioning( ScreenMessage send_when_done )
|
||||
|
||||
@@ -16,7 +16,7 @@ public:
|
||||
void Load( RString sBGAniDir );
|
||||
|
||||
virtual void UpdateInternal( float fDeltaTime );
|
||||
virtual void PlayCommand( const RString &sCommandName );
|
||||
virtual void PlayCommand( const RString &sCommandName, const LuaReference *pParamTable = NULL );
|
||||
|
||||
virtual void StartTransitioning( ScreenMessage send_when_done = SM_None );
|
||||
virtual bool EarlyAbortDraw() const;
|
||||
|
||||
Reference in New Issue
Block a user