From 4628bbbcf283c78f02145144e70d400817850a35 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 30 Jul 2005 04:57:09 +0000 Subject: [PATCH] m_sprCanGo* should only be in OptionsCursorPlus --- stepmania/src/OptionsCursor.cpp | 7 +------ stepmania/src/OptionsCursor.h | 3 --- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/stepmania/src/OptionsCursor.cpp b/stepmania/src/OptionsCursor.cpp index 3d98a4fec1..9c8e55da26 100644 --- a/stepmania/src/OptionsCursor.cpp +++ b/stepmania/src/OptionsCursor.cpp @@ -24,18 +24,13 @@ OptionsCursor::OptionsCursor( const OptionsCursor &cpy ): ActorFrame( cpy ), m_sprLeft( cpy.m_sprLeft ), m_sprMiddle( cpy.m_sprMiddle ), - m_sprRight( cpy.m_sprRight ), - m_sprCanGoLeft( cpy.m_sprCanGoLeft ), - m_sprCanGoRight( cpy.m_sprCanGoRight ) + m_sprRight( cpy.m_sprRight ) { /* Re-add children, or m_SubActors will point to cpy's children and not our own. */ m_SubActors.clear(); this->AddChild( &m_sprMiddle ); this->AddChild( &m_sprLeft ); this->AddChild( &m_sprRight ); - - this->AddChild( &m_sprCanGoLeft ); - this->AddChild( &m_sprCanGoRight ); } OptionsCursorPlus::OptionsCursorPlus( const OptionsCursorPlus &cpy ): diff --git a/stepmania/src/OptionsCursor.h b/stepmania/src/OptionsCursor.h index 4b28978168..55d5fbad83 100644 --- a/stepmania/src/OptionsCursor.h +++ b/stepmania/src/OptionsCursor.h @@ -28,9 +28,6 @@ protected: Sprite m_sprMiddle; Sprite m_sprLeft; Sprite m_sprRight; - - Sprite m_sprCanGoLeft; - Sprite m_sprCanGoRight; }; class OptionsCursorPlus : public OptionsCursor