From 2cb7bfbd3d32106a2c6aaa60b226591b38f0c72f Mon Sep 17 00:00:00 2001 From: Clownacy Date: Tue, 10 Sep 2019 01:59:26 +0000 Subject: [PATCH] Tiny cleanup --- src/Back.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Back.cpp b/src/Back.cpp index 017afcd4..de71fc60 100644 --- a/src/Back.cpp +++ b/src/Back.cpp @@ -186,7 +186,7 @@ void PutFront(int fx, int fy) for (y = y_1; y < y_2; y++) { - ypos = (y * 0x20 * 0x200) / 0x200 - fy / 0x200 + gWaterY / 0x200; + ypos = (y * 32 * 0x200) / 0x200 - fy / 0x200 + gWaterY / 0x200; if (ypos < -32) continue; @@ -196,7 +196,7 @@ void PutFront(int fx, int fy) for (x = x_1; x < x_2; x++) { - xpos = (x * 0x20 * 0x200) / 0x200 - fx / 0x200; + xpos = (x * 32 * 0x200) / 0x200 - fx / 0x200; PutBitmap3(&grcGame, xpos, ypos, &rcWater[1], SURFACE_ID_LEVEL_BACKGROUND); if (y == 0) PutBitmap3(&grcGame, xpos, ypos, &rcWater[0], SURFACE_ID_LEVEL_BACKGROUND);