From 36f203ca1615d54645577348c866b03e0ec7cfcf Mon Sep 17 00:00:00 2001 From: Clownacy Date: Tue, 7 Jan 2020 05:11:43 +0000 Subject: [PATCH] More-accurate Back.cpp variable arrangement --- src/Back.cpp | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/Back.cpp b/src/Back.cpp index c5f2de76..5234400f 100644 --- a/src/Back.cpp +++ b/src/Back.cpp @@ -82,8 +82,7 @@ void ActBack(void) void PutBack(int fx, int fy) { - int x; - int y; + int x, y; RECT rect = {0, 0, gBack.partsW, gBack.partsH}; switch (gBack.type) @@ -166,17 +165,14 @@ void PutBack(int fx, int fy) void PutFront(int fx, int fy) { - int x; - int y; - int xpos; - int ypos; - int x_1; - int x_2; - int y_1; - int y_2; + int xpos, ypos; RECT rcWater[2] = {{0, 0, 32, 16}, {0, 16, 32, 48}}; + int x, y; + int x_1, x_2; + int y_1, y_2; + switch (gBack.type) { case 3: