1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-05 10:49:41 +01:00

Remove useless attribute rcol from finalclass

The rcol of finalclass is always 6, so there's no reason to have an
attribute there as if you could change it or anything.
This commit is contained in:
Misa 2020-07-06 12:46:46 -07:00 committed by Ethan Lee
parent 876c120ed8
commit 3b6867243b
3 changed files with 0 additions and 4 deletions

View file

@ -8,7 +8,6 @@ const int* finalclass::loadlevel(int rx, int ry)
t = rx + (ry * 100); t = rx + (ry * 100);
const int* result; const int* result;
rcol = 0;
warpx = false; warpx = false;
warpy = false; warpy = false;
@ -1410,7 +1409,6 @@ const int* finalclass::loadlevel(int rx, int ry)
98,98,220,218,98,98,98,98,98,98,98,98,98,98,98,98,98,220,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 98,98,220,218,98,98,98,98,98,98,98,98,98,98,98,98,98,220,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
}; };
rcol = 6;
warpy = true; warpy = true;
roomname = "Temporary Fault..."; roomname = "Temporary Fault...";
result = contents; result = contents;

View file

@ -12,7 +12,6 @@ public:
const int* loadlevel(int rx, int ry); const int* loadlevel(int rx, int ry);
std::string roomname; std::string roomname;
int rcol;
bool warpx, warpy; bool warpx, warpy;
}; };

View file

@ -1406,7 +1406,6 @@ void mapclass::loadlevel(int rx, int ry)
roomname = finallevel.roomname; roomname = finallevel.roomname;
tileset = 1; tileset = 1;
background = 3; background = 3;
graphics.rcol = finallevel.rcol;
graphics.backgrounddrawn = false; graphics.backgrounddrawn = false;
if (finalstretch) if (finalstretch)