1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 10:33:32 +02:00

Remove unused variable mapclass::towercol

This variable is written to, but is never actually read. Writing to a
variable doesn't really do anything unless you read from it somewhere
else.
This commit is contained in:
Misa 2020-11-02 12:14:56 -08:00 committed by Ethan Lee
parent f847ec7c59
commit 9a9f3f57d5
2 changed files with 0 additions and 5 deletions

View File

@ -91,7 +91,6 @@ mapclass::mapclass()
scrolldir = 0;
check = 0;
cmode = 0;
towercol = 0;
tdrawback = false;
bscroll = 0;
roomtexton = false;
@ -632,7 +631,6 @@ void mapclass::updatetowerglow()
if (colsuperstate > 0) colstatedelay = 0;
tdrawback = true;
towercol = RGB(r*0.04f, g*0.04f, b*0.04f);
}
else
{
@ -670,7 +668,6 @@ void mapclass::nexttowercolour()
}
tdrawback = true;
towercol = RGB(r*0.04, g*0.04, b*0.04);
}
void mapclass::settowercolour(int t)
@ -703,7 +700,6 @@ void mapclass::settowercolour(int t)
}
tdrawback = true;
towercol = RGB(r*0.04, g*0.04, b*0.04);
}
bool mapclass::spikecollide(int x, int y)

View File

@ -114,7 +114,6 @@ public:
//This is the old colour cycle
int r, g,b;
int check, cmode;
int towercol;
int colstate, colstatedelay;
int colsuperstate;
int spikeleveltop, spikelevelbottom;