cleanup (this is only used in one place)

This commit is contained in:
Glenn Maynard
2005-10-12 02:39:59 +00:00
parent 96cd668edc
commit 0c9afb67b2
+2 -5
View File
@@ -8,9 +8,6 @@
#include "Game.h"
#include "PlayerState.h"
const CString PRESS_COMMAND_NAME = "Press";
const CString LIFT_COMMAND_NAME = "Lift";
ReceptorArrow::ReceptorArrow()
{
m_bIsPressed = false;
@@ -48,7 +45,7 @@ void ReceptorArrow::DrawPrimitives()
{
if( m_bWasPressed && !m_bIsPressed )
{
m_pReceptor->PlayCommand( LIFT_COMMAND_NAME );
m_pReceptor->PlayCommand( "Lift" );
}
m_bWasPressed = m_bIsPressed;
@@ -64,7 +61,7 @@ void ReceptorArrow::Step( TapNoteScore score )
CString sJudge = TapNoteScoreToString( score );
m_pReceptor->PlayCommand( Capitalize(sJudge) );
m_pReceptor->PlayCommand( PRESS_COMMAND_NAME );
m_pReceptor->PlayCommand( "Press" );
}
/*