Change nicefade to bool instead of int

If it's treated like a bool, why shouldn't it be one?
This commit is contained in:
Misa
2020-11-06 00:20:58 -08:00
committed by Ethan Lee
parent f0b9bdc007
commit c1ca57e096
3 changed files with 8 additions and 7 deletions

View File

@@ -5925,7 +5925,7 @@ std::string Game::writemaingamesave(tinyxml2::XMLDocument& doc)
//Special stats
if(music.nicefade==1)
if (music.nicefade)
{
xml::update_tag(msgs, "currentsong", music.nicechange);
}
@@ -6058,7 +6058,7 @@ bool Game::customsavequick(std::string savfile)
//Special stats
if(music.nicefade==1)
if (music.nicefade)
{
xml::update_tag(msgs, "currentsong", music.nicechange );
}