mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
tr2/game_flow: fix losing NG+ flag in saves
This postpones the fix for #2515 in TR2 because of the way the original savegame is loaded; the bonus flag is otherwise lost because of the sequence of events. Resolves #2566.
This commit is contained in:
parent
18fa738260
commit
620dd6724b
2 changed files with 3 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
|||
- fixed extremely large item quantities crashing the game (#2497, regression from 0.3)
|
||||
- fixed missing new game text in the passport when play any level is enabled (#2563, regression from 0.9)
|
||||
- fixed the play any level dialog not showing in the gym passport (#2564, regression from 0.9)
|
||||
- fixed losing the NG+ flag when loading a save that has it set (#2566, regression from 0.9.2)
|
||||
|
||||
## [0.9.2](https://github.com/LostArtefacts/TRX/compare/tr2-0.9.1...tr2-0.9.2) - 2025-02-19
|
||||
- fixed secret rewards not handed out after loading a save (#2528, regression from 0.8)
|
||||
|
|
|
@ -268,9 +268,8 @@ void GF_PreSequenceHook(
|
|||
g_GF_RemoveAmmo = false;
|
||||
g_GF_RemoveWeapons = false;
|
||||
g_GF_NumSecrets = 3;
|
||||
if (seq_ctx == GFSC_SAVED) {
|
||||
g_SaveGame.bonus_flag = false;
|
||||
}
|
||||
// TODO: reset bonus flag if seq_ctx == GFSC_SAVED once S_LoadGame logic is
|
||||
// merged with overall save loading logic.
|
||||
Camera_GetCineData()->position.target_angle = DEG_90;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue