a few little changes
This commit is contained in:
@@ -141,7 +141,7 @@ function Actor:bezier(...)
|
||||
for i=3,c do
|
||||
b[#b+1] = a[i]
|
||||
end
|
||||
a[1]:tween(a[2], "TweenMode_Bezier", b)
|
||||
self:tween(a[2], "TweenMode_Bezier", b)
|
||||
end
|
||||
|
||||
-- (c) 2006 Glenn Maynard
|
||||
|
||||
@@ -394,7 +394,10 @@ void ScreenOptionsEditCourse::SetCurrentSong()
|
||||
if( index != 0 )
|
||||
pSong = m_vpSongs[ index - 1 ];
|
||||
}
|
||||
GAMESTATE->m_pCurSong.Set( pSong );
|
||||
if ( pSong != NULL )
|
||||
{
|
||||
GAMESTATE->m_pCurSong.Set( pSong );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ static bool g_bIsMultipleInstance = false;
|
||||
void InvalidParameterHandler( const wchar_t *szExpression, const wchar_t *szFunction, const wchar_t *szFile,
|
||||
unsigned int iLine, uintptr_t pReserved )
|
||||
{
|
||||
FAIL_M( "Invalid parameter" );
|
||||
FAIL_M( "Invalid parameter" ); //TODO: Make this more informative
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user