From da18d50b3bd676b8be67efa3b4a0f92e50a671b8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 18 Jan 2004 02:42:42 +0000 Subject: [PATCH] fix warnings --- stepmania/src/ActorScroller.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorScroller.h b/stepmania/src/ActorScroller.h index 0054cef8b8..8fea7e7ca0 100644 --- a/stepmania/src/ActorScroller.h +++ b/stepmania/src/ActorScroller.h @@ -23,8 +23,8 @@ public: virtual void Update( float fDelta ); - void SetDestinationItem( int iItem ) { m_fDestinationItem = iItem; } - void SetCurrentAndDestinationItem( int iItem ) { m_fCurrentItem = m_fDestinationItem = iItem; } + void SetDestinationItem( int iItem ) { m_fDestinationItem = float(iItem); } + void SetCurrentAndDestinationItem( int iItem ) { m_fCurrentItem = m_fDestinationItem = float(iItem); } protected: float m_fCurrentItem; // usually between 0 and m_SubActors.size()