* Taseditor: fixed lost_position logic

This commit is contained in:
ansstuff 2012-10-22 13:17:52 +00:00
parent 9112c4919d
commit 441c804dbe
2 changed files with 1 additions and 3 deletions

View File

@ -92,8 +92,6 @@ bool EnterTasEditor()
// "Set high-priority thread"
eoptions |= EO_HIGHPRIO;
DoPriority();
// clear "Disable speed throttling"
eoptions &= ~EO_NOTHROTTLE;
// switch off autosaves
saved_EnableAutosave = EnableAutosave;
EnableAutosave = 0;

View File

@ -483,7 +483,7 @@ bool PLAYBACK::JumpToFrame(int index)
void PLAYBACK::SetLostPosition(int frame)
{
if ((lost_position_frame - 1 < frame) || (lost_position_frame - 1 > frame && !lost_position_is_stable))
if ((lost_position_frame - 1 < frame) || (lost_position_frame - 1 >= frame && !lost_position_is_stable))
{
if (lost_position_frame)
piano_roll.RedrawRow(lost_position_frame - 1);