File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ namespace DataManager
9595 std::ifstream saveDataFileIn (saveDataPath, std::ios::binary);
9696 saveDataFileIn.seekg (0 , std::ios::end);
9797
98+ // TODO: this check always fails on Android :D
9899 if (force_clean || saveDataFileIn.fail () || saveDataFileIn.tellg () != sizeof (GameState))
99100 {
100101 GameState defaultValue;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ struct RouletteManager
4545 gameState = DataManager::setDefaultSafe<DMMiscKey::SAVE_DATA>();
4646
4747 if (gameState.levelID != 0 )
48- currentPercentageGoal = gameState.levelPercentage ;
48+ currentPercentageGoal = gameState.levelPercentageGoal ;
4949
5050 previousDifficulty = getDifficultyFromSaveContainer<DMArrayKey::DIFFICULTY_ARRAY>();
5151 previousDemonDifficulty = getDifficultyFromSaveContainer<DMArrayKey::DEMON_DIFFICULTY_ARRAY>();
You can’t perform that action at this time.
0 commit comments