Remove duplicate using-MMMMMM variable from Game

game.usingmmmmmm was a duplicate of music.usingmmmmmm, and has been
removed.
This commit is contained in:
Misa
2020-11-12 16:48:39 -08:00
committed by Ethan Lee
parent 40b7ddda05
commit ee44f81d4c
4 changed files with 2 additions and 15 deletions

View File

@@ -4638,11 +4638,7 @@ void Game::deserializesettings(tinyxml2::XMLElement* dataNode, ScreenSettings* s
if (pKey == "usingmmmmmm")
{
if(help.Int(pText)>0){
usingmmmmmm = 1;
}else{
usingmmmmmm = 0;
}
music.usingmmmmmm = (bool) help.Int(pText);
}
if (pKey == "ghostsenabled")
@@ -4882,7 +4878,7 @@ void Game::serializesettings(tinyxml2::XMLElement* dataNode)
xml::update_tag(dataNode, "advanced_smoothing", graphics.screenbuffer->badSignalEffect);
xml::update_tag(dataNode, "usingmmmmmm", usingmmmmmm);
xml::update_tag(dataNode, "usingmmmmmm", music.usingmmmmmm);
xml::update_tag(dataNode, "ghostsenabled", (int) ghostsenabled);