mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: Always draw dirty blocks, else fast-forward is super fast.
This commit is contained in:
parent
806e7d25dd
commit
c693463c29
|
@ -3156,10 +3156,10 @@ void UpdateWindows()
|
||||||
w->SetDirty();
|
w->SetDirty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawDirtyBlocks();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DrawDirtyBlocks();
|
||||||
|
|
||||||
FOR_ALL_WINDOWS_FROM_BACK(w) {
|
FOR_ALL_WINDOWS_FROM_BACK(w) {
|
||||||
/* Update viewport only if window is not shaded. */
|
/* Update viewport only if window is not shaded. */
|
||||||
if (w->viewport != NULL && !w->IsShaded()) UpdateViewportPosition(w);
|
if (w->viewport != NULL && !w->IsShaded()) UpdateViewportPosition(w);
|
||||||
|
|
Loading…
Reference in New Issue