fix rendering glitch

This commit is contained in:
Glenn Maynard
2004-04-14 20:17:03 +00:00
parent 71edd1ffa0
commit 4f82c6d4fb
+1 -1
View File
@@ -522,7 +522,7 @@ void NoteDisplay::DrawHoldTopCap( const HoldNote& hn, const bool bIsBeingHeld, f
const float fYCapBottom = fYHead+cache->m_iStartDrawingHoldBodyOffsetFromHead;
bool bLast = false;
for( float fY=fYCapTop; fY<fYCapBottom; fY+=fYStep )
for( float fY=fYCapTop; !bLast; fY+=fYStep )
{
if( fY >= fYCapBottom )
{