mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01: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:
parent
ea2ecc81b1
commit
235046f7ad
1 changed files with 0 additions and 2 deletions
|
@ -4911,7 +4911,6 @@ void Game::readmaingamesave(tinyxml2::XMLDocument& doc)
|
||||||
else if (SDL_strcmp(pKey, "frames") == 0)
|
else if (SDL_strcmp(pKey, "frames") == 0)
|
||||||
{
|
{
|
||||||
frames = help.Int(pText);
|
frames = help.Int(pText);
|
||||||
frames = 0;
|
|
||||||
}
|
}
|
||||||
else if (SDL_strcmp(pKey, "seconds") == 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)
|
else if (SDL_strcmp(pKey, "frames") == 0)
|
||||||
{
|
{
|
||||||
frames = help.Int(pText);
|
frames = help.Int(pText);
|
||||||
frames = 0;
|
|
||||||
}
|
}
|
||||||
else if (SDL_strcmp(pKey, "seconds") == 0)
|
else if (SDL_strcmp(pKey, "seconds") == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue