Fix: Always draw dirty blocks, else fast-forward is super fast.

This commit is contained in:
Peter Nelson 2018-05-20 13:03:09 +01:00 committed by PeterN
parent 806e7d25dd
commit c693463c29
1 changed files with 2 additions and 2 deletions

View File

@ -3156,10 +3156,10 @@ void UpdateWindows()
w->SetDirty();
}
}
DrawDirtyBlocks();
}
DrawDirtyBlocks();
FOR_ALL_WINDOWS_FROM_BACK(w) {
/* Update viewport only if window is not shaded. */
if (w->viewport != NULL && !w->IsShaded()) UpdateViewportPosition(w);