small bug fixes and added new steps descriptions for couple and battle

This commit is contained in:
Chris Danford
2001-11-30 20:30:32 +00:00
parent 77a5655668
commit f2e7d6bb5f
+2 -1
View File
@@ -435,7 +435,8 @@ ScoreSummary Player::GetScoreSummary()
float Player::GetArrowColumnX( int iColNum ) float Player::GetArrowColumnX( int iColNum )
{ {
return m_fArrowsCenterX + (iColNum - (m_iNumColumns-1)/2) * ARROW_SIZE; float fColOffsetFromCenter = iColNum - (m_iNumColumns-1)/2.0f;
return m_fArrowsCenterX + fColOffsetFromCenter * ARROW_SIZE;
} }
void Player::UpdateGrayArrows( const float &fDeltaTime ) void Player::UpdateGrayArrows( const float &fDeltaTime )