Fix editor crash if you don't save a new chart.

This commit is contained in:
Jason Felds
2011-06-24 01:09:37 -04:00
parent 0190ac0eca
commit 16d58dc0a4
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -15,6 +15,8 @@ StepMania 5.0 Preview 2 | 201106??
than one step in all stepstypes. This needs testing. [Wolfman2000] than one step in all stepstypes. This needs testing. [Wolfman2000]
* [ScreenEdit] Add the option to convert delays to beats. Just find a better * [ScreenEdit] Add the option to convert delays to beats. Just find a better
song to use this on besides Uprock. [Wolfman2000] song to use this on besides Uprock. [Wolfman2000]
* [ScreenEdit] Fix a crash if you don't save any steps on a new song.
[Wolfman2000]
2011/06/19 2011/06/19
---------- ----------
+3 -1
View File
@@ -960,8 +960,10 @@ void Player::Update( float fDeltaTime )
UpdateJudgedRows(); UpdateJudgedRows();
// Check for TapNote misses // Check for TapNote misses
if (!GAMESTATE->m_bInStepEditor)
{
UpdateTapNotesMissedOlderThan( GetMaxStepDistanceSeconds() ); UpdateTapNotesMissedOlderThan( GetMaxStepDistanceSeconds() );
}
// process transforms that are waiting to be applied // process transforms that are waiting to be applied
ApplyWaitingTransforms(); ApplyWaitingTransforms();
} }