shithub: cstory

Download patch

ref: 36f203ca1615d54645577348c866b03e0ec7cfcf
parent: e70074cf6445ad441de393d7ddfbccc2c19a399d
author: Clownacy <[email protected]>
date: Tue Jan 7 00:11:43 EST 2020

More-accurate Back.cpp variable arrangement

--- a/src/Back.cpp
+++ b/src/Back.cpp
@@ -82,8 +82,7 @@
 
 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,16 +165,13 @@
 
 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)
 	{