diff options
Diffstat (limited to 'engines/scumm/he/floodfill_he.cpp')
-rw-r--r-- | engines/scumm/he/floodfill_he.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/scumm/he/floodfill_he.cpp b/engines/scumm/he/floodfill_he.cpp index 4fdfe139fc..d3578e2189 100644 --- a/engines/scumm/he/floodfill_he.cpp +++ b/engines/scumm/he/floodfill_he.cpp @@ -110,15 +110,15 @@ static void floodFillProcess(int x, int y, FloodFillState *ffs, FloodFillPixelCh Common::Rect r; int x_start; FloodFillLine *fflCur = --(*fillLineCur); - int dy = fflCur->inc; - int x_end = fflCur->x2; - int x1 = fflCur->x1; - int x2 = fflCur->x1 + 1; + int dy = fflCur->inc; + int x_end = fflCur->x2; + int x1 = fflCur->x1; + int x2 = fflCur->x1 + 1; r.bottom = r.top = y = fflCur->y + fflCur->inc; - r.left = x2; - r.right = x1; - x = x1; - while (ffs->srcBox.left <= x) { + r.left = x2; + r.right = x1; + x = x1; + while (ffs->srcBox.left <= x) { if (!(*pixelCheckCallback)(x, y, ffs)) { break; } |