You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Next Line is End of File or Display Ammo Priority
1540
1548
line = in.readLine();
1541
1549
1542
-
if(line.startsWith (ENDOFFILE))
1550
+
if(line.startsWith ("1"))
1543
1551
{
1544
1552
displayAmmoPriority = true;
1545
-
displayLifePriority = false;
1546
-
displayOtherPriority = false;
1547
-
displayAmmoLife = false;
1548
-
displayAmmoLifeGlyphs = true;
1549
-
displayAmmoLifeBar = false;
1550
-
displayAmmoLifeNumber = false;
1551
-
loadSetData.close ();
1552
-
this->SaveSettings();
1553
-
this->UpdateLightGunWithSettings ();
1554
-
return;
1555
1553
}
1556
-
elseif(line.startsWith ("1"))
1557
-
displayAmmoPriority = true;
1558
1554
elseif(line.startsWith ("0"))
1555
+
{
1559
1556
displayAmmoPriority = false;
1557
+
}
1560
1558
else
1561
1559
{
1562
1560
QMessageBox::critical (nullptr, "Settings File Error", "Settings save data file is corrupted at Display Ammo Priority. Please close program and solve file problem.", QMessageBox::Ok);
QMessageBox::critical (nullptr, "Settings File Error", "Settings save data file is corrupted at Enable New Game File Creation. Please close program and solve file problem.", QMessageBox::Ok);
0 commit comments