revert changes because Course's trail regeneration now doesnt invalidate m_pCurTrail pointer

This commit is contained in:
Vecais Dumais Laacis
2007-08-10 21:00:52 +00:00
parent 3cf62ae333
commit 37f91c8b98
+2 -2
View File
@@ -1013,9 +1013,9 @@ void ScreenSelectMusic::AfterStepsOrTrailChange( const vector<PlayerNumber> &vpn
Course* pCourse = GAMESTATE->m_pCurCourse;
Trail* pTrail = m_vpTrails.empty()? NULL: m_vpTrails[m_iSelection[pn]];
GAMESTATE->m_pCurTrail[pn].Set( pTrail );
GAMESTATE->m_pCurSteps[pn].Set( NULL );
GAMESTATE->m_pCurTrail[pn].Set( pTrail );
int iScore = 0;
if( pTrail )