fix warnings

This commit is contained in:
Glenn Maynard
2004-01-18 02:42:42 +00:00
parent 129e68d484
commit da18d50b3b
+2 -2
View File
@@ -23,8 +23,8 @@ public:
virtual void Update( float fDelta ); virtual void Update( float fDelta );
void SetDestinationItem( int iItem ) { m_fDestinationItem = iItem; } void SetDestinationItem( int iItem ) { m_fDestinationItem = float(iItem); }
void SetCurrentAndDestinationItem( int iItem ) { m_fCurrentItem = m_fDestinationItem = iItem; } void SetCurrentAndDestinationItem( int iItem ) { m_fCurrentItem = m_fDestinationItem = float(iItem); }
protected: protected:
float m_fCurrentItem; // usually between 0 and m_SubActors.size() float m_fCurrentItem; // usually between 0 and m_SubActors.size()