This commit is contained in:
Glenn Maynard
2003-11-02 03:52:13 +00:00
parent ca8b6e4fd0
commit ee7a8ea08e
+2 -3
View File
@@ -87,9 +87,8 @@ void DancingCharacters::LoadNextSong()
m_fLookAtHeight = CAMERA_REST_LOOK_AT_HEIGHT; m_fLookAtHeight = CAMERA_REST_LOOK_AT_HEIGHT;
m_fThisCameraStartBeat = 0; m_fThisCameraStartBeat = 0;
m_fThisCameraEndBeat = 0; m_fThisCameraEndBeat = 0;
/* XXX: This is being initialized before m_pCurSong is set by ScreenGameplay
* in course mode. Init in first update? */ ASSERT( GAMESTATE->m_pCurSong );
if( GAMESTATE->m_pCurSong )
m_fThisCameraEndBeat = GAMESTATE->m_pCurSong->m_fFirstBeat; m_fThisCameraEndBeat = GAMESTATE->m_pCurSong->m_fFirstBeat;
for( int p=0; p<NUM_PLAYERS; p++ ) for( int p=0; p<NUM_PLAYERS; p++ )