move Movie::DoFrameStep to Core::DoFrameStep

This commit is contained in:
Michael M
2017-07-01 13:17:18 -07:00
parent 030dc11c6e
commit d217e797f2
6 changed files with 29 additions and 27 deletions

View File

@ -446,7 +446,7 @@ void CFrame::OnFrameStep(wxCommandEvent& event)
{
bool wasPaused = Core::GetState() == Core::State::Paused;
Movie::DoFrameStep();
Core::DoFrameStep();
bool isPaused = Core::GetState() == Core::State::Paused;
if (isPaused && !wasPaused) // don't update on unpause, otherwise the status would be wrong when