Fix delayed rendering of cursor with farlook in NetHackW.
This commit is contained in:
@@ -1010,7 +1010,7 @@ static void dirty(PNHMapWindow data, int x, int y)
|
|||||||
data->mapDirty[x][y] = TRUE;
|
data->mapDirty[x][y] = TRUE;
|
||||||
|
|
||||||
RECT rt;
|
RECT rt;
|
||||||
nhcoord2display(data, data->xCur, data->yCur, &rt);
|
nhcoord2display(data, x, y, &rt);
|
||||||
|
|
||||||
InvalidateRect(data->hWnd, &rt, FALSE);
|
InvalidateRect(data->hWnd, &rt, FALSE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user