mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-26 05:34:12 +01:00
Cleanup: Give SetDirtyBlocks a more descriptive name.
This commit is contained in:
committed by
Charles Pigott
parent
caab095e4e
commit
8652a4db76
@@ -1886,7 +1886,7 @@ static void MarkViewportDirty(const ViewPort *vp, int left, int top, int right,
|
||||
|
||||
if (top >= vp->virtual_height) return;
|
||||
|
||||
SetDirtyBlocks(
|
||||
AddDirtyBlock(
|
||||
UnScaleByZoomLower(left, vp->zoom) + vp->left,
|
||||
UnScaleByZoomLower(top, vp->zoom) + vp->top,
|
||||
UnScaleByZoom(right, vp->zoom) + vp->left + 1,
|
||||
|
||||
Reference in New Issue
Block a user