diff --git a/stepmania/src/ScreenBookkeeping.cpp b/stepmania/src/ScreenBookkeeping.cpp index 7a810b0917..73fd43111c 100644 --- a/stepmania/src/ScreenBookkeeping.cpp +++ b/stepmania/src/ScreenBookkeeping.cpp @@ -109,7 +109,14 @@ void ScreenBookkeeping::MenuBack( PlayerNumber pn ) StartTransitioning( SM_GoToPrevScreen ); } } - + +void ScreenBookkeeping::MenuCoin( PlayerNumber pn ) +{ + ChangeView( m_View ); + + Screen::MenuCoin( pn ); +} + void ScreenBookkeeping::ChangeView( View newView ) { m_View = newView; diff --git a/stepmania/src/ScreenBookkeeping.h b/stepmania/src/ScreenBookkeeping.h index 9b70e50bfd..e05a480375 100644 --- a/stepmania/src/ScreenBookkeeping.h +++ b/stepmania/src/ScreenBookkeeping.h @@ -26,6 +26,7 @@ public: virtual void MenuRight( PlayerNumber pn ); virtual void MenuStart( PlayerNumber pn ); virtual void MenuBack( PlayerNumber pn ); + void MenuCoin( PlayerNumber pn ); private: enum View { VIEW_LAST_DAYS, VIEW_LAST_WEEKS, VIEW_DAY_OF_WEEK, VIEW_HOUR_OF_DAY, NUM_VIEWS };