[splittiming] Brave to edit the editor, that.
This commit is contained in:
+1
-5
@@ -3133,11 +3133,7 @@ static void ChangeArtistTranslit( const RString &sNew )
|
||||
|
||||
static void ChangeBeat0Offset( const RString &sNew )
|
||||
{
|
||||
TimingData &timing = GAMESTATE->m_pCurSong->m_SongTiming;
|
||||
if( GAMESTATE->m_bIsEditorStepTiming )
|
||||
{
|
||||
timing = GAMESTATE->m_pCurSteps[PLAYER_1]->m_Timing;
|
||||
}
|
||||
TimingData &timing = GAMESTATE->m_bIsEditorStepTiming ? GAMESTATE->m_pCurSteps[PLAYER_1]->m_Timing : GAMESTATE->m_pCurSong->m_SongTiming;
|
||||
timing.m_fBeat0OffsetInSeconds = StringToFloat( sNew );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user