From d720fd80ae900bf680967417aefab2b3cd9dd500 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Mon, 25 Aug 2003 18:53:19 +0000 Subject: [PATCH] ok. got rid of the first draw. (don't add an actor as a child if you are going to draw it manually, but make sure to update it manually too) --- stepmania/src/ScreenHowToPlay.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenHowToPlay.cpp b/stepmania/src/ScreenHowToPlay.cpp index b7e5eea712..72a0db9807 100644 --- a/stepmania/src/ScreenHowToPlay.cpp +++ b/stepmania/src/ScreenHowToPlay.cpp @@ -61,10 +61,7 @@ ScreenHowToPlay::ScreenHowToPlay() : ScreenAttract("ScreenHowToPlay") m_mDancePad.SetRotationX( 35 ); m_mCharacter.Command("X,120;Y,300;Zoom,15;RotationY,180;sleep,4.7;linear,1.0;RotationY,360;Zoom,20;X,120;Y,400"); m_mDancePad.Command("X,40;Y,310;Zoom,15;RotationY,180;sleep,4.7;linear,1.0;RotationY,360;Zoom,20;X,230;Y,390"); - this->AddChild(&m_mCharacter); - this->AddChild(&m_mDancePad); } - // NoteData* pND = new NoteData; pND->SetNumTracks( iNumOfTracks ); @@ -200,6 +197,8 @@ void ScreenHowToPlay::Update( float fDelta ) } + m_mDancePad.Update(fDelta); + m_mCharacter.Update(fDelta); ScreenAttract::Update( fDelta ); }