mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-05 02:39:41 +01:00
deletestats
: Properly reset bestgamedeaths
While I was testing deleting data while you were in-game, I noticed that
deleting data gave you all the "Win with less than X deaths" trophies,
even if you never got any of them before deleting data. Well, it turns
out that if you have the best game death count of 0, then you win every
trophy, and if you have the best game death count of -1 then that means
you haven't completed the game yet.
This reset was added in e3bfc79d4a
, so at
least it's not in 2.3, but I only have myself to blame for making this
mistake. Whoops.
This commit is contained in:
parent
2770353142
commit
cc9c71a94a
1 changed files with 1 additions and 1 deletions
|
@ -3990,7 +3990,7 @@ void Game::deletestats(void)
|
|||
}
|
||||
swnrecord = 0;
|
||||
swnbestrank = 0;
|
||||
bestgamedeaths = 0;
|
||||
bestgamedeaths = -1;
|
||||
#ifndef MAKEANDPLAY
|
||||
graphics.setflipmode = false;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue