mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Change savex and savey in struct Summary to saverx and savery
This is a bit misleading otherwise, since it is the room coordinates, not pixel coordinates.
This commit is contained in:
parent
4e5126a596
commit
50a560dc5f
2 changed files with 6 additions and 6 deletions
|
@ -5635,11 +5635,11 @@ static void loadthissummary(
|
|||
}
|
||||
else if (SDL_strcmp(pKey, "saverx") == 0)
|
||||
{
|
||||
summary->savex = help.Int(pText);
|
||||
summary->saverx = help.Int(pText);
|
||||
}
|
||||
else if (SDL_strcmp(pKey, "savery") == 0)
|
||||
{
|
||||
summary->savey = help.Int(pText);
|
||||
summary->savery = help.Int(pText);
|
||||
}
|
||||
else if (SDL_strcmp(pKey, "trinkets") == 0)
|
||||
{
|
||||
|
@ -5676,7 +5676,7 @@ void Game::loadsummary(void)
|
|||
summary.seconds
|
||||
);
|
||||
map.finalmode = summary.finalmode;
|
||||
tele_currentarea = map.currentarea(summary.savex, summary.savey);
|
||||
tele_currentarea = map.currentarea(summary.saverx, summary.savery);
|
||||
SDL_memcpy(tele_crewstats, summary.crewstats, sizeof(tele_crewstats));
|
||||
tele_trinkets = summary.trinkets;
|
||||
}
|
||||
|
@ -5699,7 +5699,7 @@ void Game::loadsummary(void)
|
|||
summary.seconds
|
||||
);
|
||||
map.finalmode = summary.finalmode;
|
||||
quick_currentarea = map.currentarea(summary.savex, summary.savey);
|
||||
quick_currentarea = map.currentarea(summary.saverx, summary.savery);
|
||||
SDL_memcpy(quick_crewstats, summary.crewstats, sizeof(quick_crewstats));
|
||||
quick_trinkets = summary.trinkets;
|
||||
}
|
||||
|
|
|
@ -298,8 +298,8 @@ public:
|
|||
int seconds;
|
||||
int minutes;
|
||||
int hours;
|
||||
int savex;
|
||||
int savey;
|
||||
int saverx;
|
||||
int savery;
|
||||
int trinkets;
|
||||
bool finalmode;
|
||||
bool crewstats[numcrew];
|
||||
|
|
Loading…
Reference in a new issue