remove pPlayerState param from Attack::GetAttackBeats

This commit is contained in:
Glenn Maynard
2006-02-01 04:44:34 +00:00
parent 4d248c29f8
commit 7ace9857af
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -5,8 +5,9 @@
#include "song.h"
#include "Foreach.h"
#include "PlayerOptions.h"
#include "PlayerState.h"
void Attack::GetAttackBeats( const Song *pSong, const PlayerState* pPlayerState, float &fStartBeat, float &fEndBeat ) const
void Attack::GetAttackBeats( const Song *pSong, float &fStartBeat, float &fEndBeat ) const
{
ASSERT( pSong );
ASSERT_M( fStartSecond >= 0, ssprintf("%f",fStartSecond) );
@@ -22,7 +23,7 @@ void Attack::GetRealtimeAttackBeats( const Song *pSong, const PlayerState* pPlay
{
if( fStartSecond >= 0 )
{
GetAttackBeats( pSong, pPlayerState, fStartBeat, fEndBeat );
GetAttackBeats( pSong, fStartBeat, fEndBeat );
return;
}