1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-14 08:43:37 +02: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);
const int* result;
rcol = 0;
warpx = 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,
};
rcol = 6;
warpy = true;
roomname = "Temporary Fault...";
result = contents;

View File

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

View File

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