Fix bug in skip to next poll function
Don't get stuck in some weird limbo pause mode after advancing to next poll.
This commit is contained in:
parent
c3fc676519
commit
d8a7a554e1
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,9 @@ controls_t movie_logic::update_controls(bool subframe) throw(std::bad_alloc, std
|
|||
} else if(amode == ADVANCE_FRAME) {
|
||||
;
|
||||
} else {
|
||||
window::paused(amode == ADVANCE_SKIPLAG || amode == ADVANCE_PAUSE);
|
||||
if(amode == ADVANCE_SKIPLAG)
|
||||
amode = ADVANCE_PAUSE;
|
||||
window::paused(amode == ADVANCE_PAUSE);
|
||||
cancel_advance = false;
|
||||
}
|
||||
if(amode == ADVANCE_SKIPLAG)
|
||||
|
|
Loading…
Add table
Reference in a new issue