forked from mirror/OpenTTD
Fix: Always draw dirty blocks, else fast-forward is super fast.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user