mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove useless variable game.coins
It kept getting set to 0 and getting incremented sometimes, but without it ever actually getting checked, it's a useless variable.
This commit is contained in:
parent
756c409d1d
commit
317eece28d
3 changed files with 1 additions and 9 deletions
|
@ -2498,7 +2498,6 @@ void entityclass::updateentities( int i )
|
|||
//wait for collision
|
||||
if (entities[i].state == 1)
|
||||
{
|
||||
game.coins++;
|
||||
music.playef(4);
|
||||
collect[entities[i].para] = 1;
|
||||
|
||||
|
|
|
@ -4736,8 +4736,6 @@ void Game::customstart()
|
|||
savepoint = 0;
|
||||
gravitycontrol = savegc;
|
||||
|
||||
coins = 0;
|
||||
|
||||
//state = 2; deathseq = -1; lifeseq = 10; //Not dead, in game initilisation state
|
||||
state = 0;
|
||||
deathseq = -1;
|
||||
|
@ -4762,8 +4760,6 @@ void Game::start()
|
|||
savepoint = 0;
|
||||
gravitycontrol = savegc;
|
||||
|
||||
coins = 0;
|
||||
|
||||
//state = 2; deathseq = -1; lifeseq = 10; //Not dead, in game initilisation state
|
||||
state = 0;
|
||||
deathseq = -1;
|
||||
|
@ -4859,7 +4855,6 @@ void Game::startspecial( int t )
|
|||
|
||||
savepoint = 0;
|
||||
gravitycontrol = savegc;
|
||||
coins = 0;
|
||||
state = 0;
|
||||
deathseq = -1;
|
||||
lifeseq = 0;
|
||||
|
@ -4931,8 +4926,6 @@ void Game::starttrial( int t )
|
|||
savepoint = 0;
|
||||
gravitycontrol = savegc;
|
||||
|
||||
coins = 0;
|
||||
|
||||
//state = 2; deathseq = -1; lifeseq = 10; //Not dead, in game initilisation state
|
||||
state = 0;
|
||||
deathseq = -1;
|
||||
|
|
|
@ -247,7 +247,7 @@ public:
|
|||
|
||||
int deathseq, lifeseq;
|
||||
|
||||
int coins, trinkets(), crewmates();
|
||||
int trinkets(), crewmates();
|
||||
int savepoint, teleport, teleportxpos;
|
||||
int edteleportent;
|
||||
bool completestop;
|
||||
|
|
Loading…
Reference in a new issue