(svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls.

This commit is contained in:
frosch
2011-03-08 19:43:38 +00:00
parent 0a28d212f4
commit 9816d168c9

View File

@@ -2403,6 +2403,11 @@ void InputLoop()
void UpdateWindows()
{
Window *w;
FOR_ALL_WINDOWS_FROM_FRONT(w) {
w->ProcessScheduledInvalidations();
}
static int we4_timer = 0;
int t = we4_timer + 1;
@@ -2420,7 +2425,6 @@ void UpdateWindows()
if (!(w->flags4 & WF_WHITE_BORDER_MASK)) w->SetDirty();
}
w->ProcessScheduledInvalidations();
}
DrawDirtyBlocks();