1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 16:39:09 +00:00

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

This commit is contained in:
2018-05-20 13:03:09 +01:00
committed by PeterN
parent 806e7d25dd
commit c693463c29

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);