From 3a049ceb6225f19f9722bedb608f42e5975d3cad Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 25 Oct 2005 03:47:17 +0000 Subject: [PATCH] const --- stepmania/src/NoteField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NoteField.cpp b/stepmania/src/NoteField.cpp index 6bcd39748b..735d98de24 100644 --- a/stepmania/src/NoteField.cpp +++ b/stepmania/src/NoteField.cpp @@ -728,7 +728,7 @@ void NoteField::DrawPrimitives() if( m_iBeginMarker!=-1 && m_iEndMarker!=-1 ) bIsInSelectionRange = (m_iBeginMarker <= iStartRow && iEndRow < m_iEndMarker); - NoteDisplayCols *nd = CurDisplay->second; + const NoteDisplayCols *nd = CurDisplay->second; nd->display[c].DrawHold( tn, c, iStartRow, bIsHoldingNote, bIsActive, Result, bIsInSelectionRange ? fSelectedRangeGlow : m_fPercentFadeToFail, false, m_fYReverseOffsetPixels, (float) iFirstPixelToDraw, (float) iLastPixelToDraw ); }