diff --git a/src/Back.cpp b/src/Back.cpp index de71fc60..25ce8723 100644 --- a/src/Back.cpp +++ b/src/Back.cpp @@ -179,7 +179,7 @@ void PutFront(int fx, int fy) switch (gBack.type) { case 3: - x_1 = fx / 0x4000; + x_1 = fx / (32 * 0x200); x_2 = x_1 + (((WINDOW_WIDTH + (32 - 1)) / 32) + 1); y_1 = 0; y_2 = y_1 + 32;