mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-03-30 13:41:48 +03:00
Fix No Death Mode results being reset before being shown
This does the same thing as the last commit, but for No Death Mode instead of Time Trials. Whenever you die in No Death Mode, or complete it, all the relevant variables get copied to variables prefixed with 'ndmresult' that never get reset by script.hardreset(), and these variables are what titlerender() use, instead of the "live" ones.
This commit is contained in:
@@ -290,6 +290,10 @@ public:
|
||||
bool nodeathmode;
|
||||
int gameoverdelay;
|
||||
bool nocutscenes;
|
||||
int ndmresultcrewrescued;
|
||||
int ndmresulttrinkets;
|
||||
std::string ndmresulthardestroom;
|
||||
void copyndmresults();
|
||||
|
||||
//Time Trials
|
||||
bool intimetrial, timetrialparlost;
|
||||
@@ -306,6 +310,7 @@ public:
|
||||
|
||||
static const int numcrew = 6;
|
||||
bool crewstats[numcrew];
|
||||
bool ndmresultcrewstats[numcrew];
|
||||
|
||||
bool alarmon;
|
||||
int alarmdelay;
|
||||
|
||||
Reference in New Issue
Block a user