a few little changes

This commit is contained in:
Flameshadowxeroshin
2010-12-20 11:43:27 -06:00
parent 70934bb684
commit 8e742dce5a
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ function Actor:bezier(...)
for i=3,c do for i=3,c do
b[#b+1] = a[i] b[#b+1] = a[i]
end end
a[1]:tween(a[2], "TweenMode_Bezier", b) self:tween(a[2], "TweenMode_Bezier", b)
end end
-- (c) 2006 Glenn Maynard -- (c) 2006 Glenn Maynard
+3
View File
@@ -394,8 +394,11 @@ void ScreenOptionsEditCourse::SetCurrentSong()
if( index != 0 ) if( index != 0 )
pSong = m_vpSongs[ index - 1 ]; pSong = m_vpSongs[ index - 1 ];
} }
if ( pSong != NULL )
{
GAMESTATE->m_pCurSong.Set( pSong ); GAMESTATE->m_pCurSong.Set( pSong );
} }
}
} }
void ScreenOptionsEditCourse::SetCurrentSteps() void ScreenOptionsEditCourse::SetCurrentSteps()
+1 -1
View File
@@ -19,7 +19,7 @@ static bool g_bIsMultipleInstance = false;
void InvalidParameterHandler( const wchar_t *szExpression, const wchar_t *szFunction, const wchar_t *szFile, void InvalidParameterHandler( const wchar_t *szExpression, const wchar_t *szFunction, const wchar_t *szFile,
unsigned int iLine, uintptr_t pReserved ) unsigned int iLine, uintptr_t pReserved )
{ {
FAIL_M( "Invalid parameter" ); FAIL_M( "Invalid parameter" ); //TODO: Make this more informative
} }
#endif #endif