Skip to content

Commit

Permalink
savegame: fix death counter
Browse files Browse the repository at this point in the history
Resolves #575 and #576
  • Loading branch information
rr- committed May 30, 2022
1 parent 9370710 commit 59209cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- fixed the new game and save game passport options using the wrong closing animation (#542, regression from 2.7)
- fixed bridges at floor level appearing under the floor (#523)
- fixed Lara's outfit in Lara's Home when replaying the level (#571, regression from 2.7)
- fixed crash when dying in the gym level with no saves (#576, regression from 2.8)
- fixed exiting select level menu causing deaths in a new game incremented in that slot (#575, regression from 2.8)
- removed DInput-based XBox controller support

## [2.8.1](https://github.com/rr-/Tomb1Main/compare/2.8.1...2.8.2) - 2022-05-20
Expand Down
2 changes: 1 addition & 1 deletion src/game/inventory/inventory.c
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ int32_t Inv_Display(int inv_mode)
}

case O_PHOTO_OPTION:
g_GameInfo.current_save_slot = 0;
g_GameInfo.current_save_slot = -1;
return GF_START_GYM | g_GameFlow.gym_level_num;

case O_GUN_OPTION:
Expand Down
1 change: 1 addition & 0 deletions src/game/option/option_passport.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ static void Option_PassportShowNewGame(void)
g_GameInfo.bonus_flag = 0;
break;
}
g_GameInfo.current_save_slot = -1;
g_GameInfo.passport_mode = PASSPORT_MODE_NEW_GAME;
g_GameInfo.save_initial_version = SAVEGAME_CURRENT_VERSION;
} else if (
Expand Down

0 comments on commit 59209cf

Please sign in to comment.