fix VC7 warnings

This commit is contained in:
Chris Danford
2005-09-11 01:28:25 +00:00
parent 3657d71e04
commit 6dac77150a
+1 -7
View File
@@ -54,12 +54,6 @@ void ScreenGameplayLesson::Init()
this->SortByDrawOrder();
// Show the first lesson page
if( !m_vPages.empty() )
{
AutoActor &aa = m_vPages[0];
}
FOREACH( AutoActor, m_vPages, aa )
{
bool bIsFirst = aa == m_vPages.begin();
@@ -158,7 +152,7 @@ void ScreenGameplayLesson::ChangeLessonPage( int iDir )
// don't change
return;
}
else if( m_iCurrentPageIndex + iDir >= m_vPages.size() )
else if( m_iCurrentPageIndex + iDir >= (int)m_vPages.size() )
{
m_vPages[m_iCurrentPageIndex]->PlayCommand( "Hide" );
m_iCurrentPageIndex = -1;