mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01: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:
parent
f847ec7c59
commit
9a9f3f57d5
2 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue