whitespaces and remove comments
This commit is contained in:
parent
4a7e95a1ba
commit
df979f958f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
struct Chapter {
|
||||
void* imageData;
|
||||
short testChamberLevelIndex;
|
||||
short testChamberDisplayNumber; // chamberNumber
|
||||
short testChamberDisplayNumber;
|
||||
};
|
||||
|
||||
struct ChapterMenu {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue