1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00

Don't ditch frames when loading saves

It seems like for whatever reason that the frames portion of save files
is never read from, and always zeroed. Well, technically they get parsed
but the result is immediately discarded afterwards.

I see no reason to do this, so I'm removing these zeroes.
This commit is contained in:
Misa 2021-04-13 14:44:28 -07:00 committed by Ethan Lee
parent ea2ecc81b1
commit 235046f7ad

View File

@ -4911,7 +4911,6 @@ void Game::readmaingamesave(tinyxml2::XMLDocument& doc)
else if (SDL_strcmp(pKey, "frames") == 0)
{
frames = help.Int(pText);
frames = 0;
}
else if (SDL_strcmp(pKey, "seconds") == 0)
{
@ -5106,7 +5105,6 @@ void Game::customloadquick(std::string savfile)
else if (SDL_strcmp(pKey, "frames") == 0)
{
frames = help.Int(pText);
frames = 0;
}
else if (SDL_strcmp(pKey, "seconds") == 0)
{