1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

Remove finalmode from struct Summary

It's unused (other than some map.finalmode assignments which should not
be there) and we don't need it either. If we do, we can always readd
it.
This commit is contained in:
Dav999 2023-09-13 16:24:17 +02:00 committed by Misa Elizabeth Kai
parent 50a560dc5f
commit 61adffe6eb
2 changed files with 0 additions and 7 deletions

View file

@ -5645,10 +5645,6 @@ static void loadthissummary(
{
summary->trinkets = help.Int(pText);
}
else if (SDL_strcmp(pKey, "finalmode") == 0)
{
map.finalmode = help.Int(pText);
}
LOAD_ARRAY_RENAME(crewstats, summary->crewstats)
}
@ -5675,7 +5671,6 @@ void Game::loadsummary(void)
summary.minutes,
summary.seconds
);
map.finalmode = summary.finalmode;
tele_currentarea = map.currentarea(summary.saverx, summary.savery);
SDL_memcpy(tele_crewstats, summary.crewstats, sizeof(tele_crewstats));
tele_trinkets = summary.trinkets;
@ -5698,7 +5693,6 @@ void Game::loadsummary(void)
summary.minutes,
summary.seconds
);
map.finalmode = summary.finalmode;
quick_currentarea = map.currentarea(summary.saverx, summary.savery);
SDL_memcpy(quick_crewstats, summary.crewstats, sizeof(quick_crewstats));
quick_trinkets = summary.trinkets;

View file

@ -301,7 +301,6 @@ public:
int saverx;
int savery;
int trinkets;
bool finalmode;
bool crewstats[numcrew];
};