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:
Chris Danford
2005-05-12 07:52:53 +00:00
parent 4a2d15f1fc
commit 414b7063ed
+4
View File
@@ -911,6 +911,10 @@ void Player::HandleStep( int col, const RageTimer &tm, bool bHeld )
if( score == TNS_MISS )
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;
default: