From 9d6b353fdeab2535f968f021e4bfe90f63b925ca Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 14 Apr 2005 04:50:20 +0000 Subject: [PATCH] run JudgmentOnCommand, so we can attach commands to the judgement --- stepmania/src/Player.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 41c2ef9af0..37fd5e7c40 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -161,11 +161,13 @@ void Player::Init( m_Combo.SetName( "Combo" ); m_Combo.Load( pn ); + ActorUtil::OnCommand( m_Combo, sType ); + + m_Judgment.SetName( "Judgment" ); + ActorUtil::OnCommand( m_Judgment, sType ); m_fNoteFieldHeight = GRAY_ARROWS_Y_REVERSE-GRAY_ARROWS_Y_STANDARD; m_pNoteField->Init( m_pPlayerState, m_fNoteFieldHeight ); - - ActorUtil::OnCommand( m_Combo, sType ); } void Player::Load( const NoteData& noteData )