From 4c369600a8e89e4967db7fca0197cd708e00db4d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 11 Jun 2008 22:09:47 +0000 Subject: [PATCH] revert Message_PlayerJoined. This logic is changing. --- stepmania/src/ScreenAttract.cpp | 9 --------- stepmania/src/ScreenAttract.h | 1 - 2 files changed, 10 deletions(-) diff --git a/stepmania/src/ScreenAttract.cpp b/stepmania/src/ScreenAttract.cpp index cf6c8a0cb8..7c09680a27 100644 --- a/stepmania/src/ScreenAttract.cpp +++ b/stepmania/src/ScreenAttract.cpp @@ -22,7 +22,6 @@ void ScreenAttract::Init() { RESET_GAME_STATE.Load( m_sName, "ResetGameState" ); ATTRACT_VOLUME.Load( m_sName, "AttractVolume" ); - this->SubscribeToMessage( Message_PlayerJoined ); ScreenWithMenuElements::Init(); } @@ -125,14 +124,6 @@ void ScreenAttract::StartPlayingMusic() ScreenWithMenuElements::StartPlayingMusic(); } -void ScreenAttract::HandleMessage( const Message &msg ) -{ - if( msg == Message_PlayerJoined ) - this->Cancel( SM_GoToStartScreen ); - - ScreenWithMenuElements::HandleMessage( msg ); -} - void ScreenAttract::HandleScreenMessage( const ScreenMessage SM ) { if( SM == SM_MenuTimer || diff --git a/stepmania/src/ScreenAttract.h b/stepmania/src/ScreenAttract.h index 762258d9f1..df473f3310 100644 --- a/stepmania/src/ScreenAttract.h +++ b/stepmania/src/ScreenAttract.h @@ -18,7 +18,6 @@ public: static void SetAttractVolume( bool bInAttract ); virtual void Input( const InputEventPlus &input ); - virtual void HandleMessage( const Message &msg ); virtual void HandleScreenMessage( const ScreenMessage SM ); virtual void Cancel( ScreenMessage smSendWhenDone );