Use a small, random amount in fNoteOffset for CPU controlled players so that demonstration show a mix of late and early
This commit is contained in:
@@ -911,6 +911,10 @@ void Player::HandleStep( int col, const RageTimer &tm, bool bHeld )
|
|||||||
if( score == TNS_MISS )
|
if( score == TNS_MISS )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Put some small, random amount in fNoteOffset so that demonstration
|
||||||
|
// show a mix of late and early instead of always late.
|
||||||
|
fNoteOffset = randomf( -0.1f, 0.1f );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user