From 02bfa44d0fe763b8bf586e977cc96a0c02be42f8 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 16 Nov 2006 10:17:08 +0000 Subject: [PATCH] Pass the param table along. --- stepmania/src/Transition.cpp | 4 ++-- stepmania/src/Transition.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Transition.cpp b/stepmania/src/Transition.cpp index 7fa15fa19f..ba215ee5b7 100644 --- a/stepmania/src/Transition.cpp +++ b/stepmania/src/Transition.cpp @@ -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 ) diff --git a/stepmania/src/Transition.h b/stepmania/src/Transition.h index c55e49304c..d580e037e1 100644 --- a/stepmania/src/Transition.h +++ b/stepmania/src/Transition.h @@ -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;