whitespaces and remove comments

This commit is contained in:
hackgrid 2023-12-01 00:41:40 +01:00
parent 4a7e95a1ba
commit df979f958f
3 changed files with 2 additions and 3 deletions

View file

@ -123,7 +123,7 @@ enum InputCapture newGameUpdate(struct NewGameMenu* newGameMenu) {
// this is done on update so if the unlock menu cheat is used it shows up right away
while (newGameMenu->chapterCount < MAX_CHAPTER_COUNT &&
gChapters[newGameMenu->chapterCount].testChamberLevelIndex <= gSaveData.header.chapterProgressLevelIndex &&
gChapters[newGameMenu->chapterCount].testChamberLevelIndex > 0) {
gChapters[newGameMenu->chapterCount].testChamberLevelIndex > 0) {
++newGameMenu->chapterCount;
}

View file

@ -12,7 +12,7 @@
struct Chapter {
void* imageData;
short testChamberLevelIndex;
short testChamberDisplayNumber; // chamberNumber
short testChamberDisplayNumber;
};
struct ChapterMenu {

View file

@ -292,7 +292,6 @@ int savefileOldestSlot() {
}
void savefileMarkChapterProgress(int levelIndex) {
//int chamberNumer = getChamberDisplayNumberFromLevelIndex(levelIndex);//todo correct?
if (levelIndex > gSaveData.header.chapterProgressLevelIndex) {
gSaveData.header.chapterProgressLevelIndex = levelIndex;
savefileSave();