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 authored and Ethan Lee committed 2020-07-08 19:14:21 -04:00
1 parent 876c120ed8
commit 3b6867243b
3 files changed
-4

No files matched your search

-2
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;
-1
View File
@@ -12,7 +12,6 @@ public:
const int* loadlevel(int rx, int ry);
std::string roomname;
int rcol;
bool warpx, warpy;
};
-1
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)