This commit is contained in:
Glenn Maynard
2005-09-24 04:04:01 +00:00
parent dbbe3c8af1
commit 718cf1787a
+1 -1
View File
@@ -256,7 +256,7 @@ void ActorScroller::PositionItemsAndDrawPrimitives( bool bDrawPrimitives )
bool bDelayedDraw = m_bDrawByZPosition && !m_bLoop;
vector<Actor*> subs;
for( int iItem=(int)truncf(ceilf(fFirstItemToDraw)); iItem<=fLastItemToDraw; iItem++ )
for( int iItem=(int)ceilf(fFirstItemToDraw); iItem<=fLastItemToDraw; iItem++ )
{
float fPosition = iItem - m_fCurrentItem;
int iIndex = iItem;