1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

fix flipped inequality sign

Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
mothbeanie 2024-11-03 21:16:26 -08:00 committed by Misa Elizabeth Kai
parent 2875af0492
commit b572e2164b

View file

@ -2307,7 +2307,7 @@ void mapclass::setregion(int id, int rx, int ry, int rx2, int ry2)
if (INBOUNDS_ARR(id, region) && id > 0) if (INBOUNDS_ARR(id, region) && id > 0)
{ {
// swap the variables if they're entered in the wrong order // swap the variables if they're entered in the wrong order
if (rx2 > rx) if (rx2 < rx)
{ {
int temp = rx; int temp = rx;
rx = rx2; rx = rx2;