New Game Starts with Poisoned Status
cambragol opened this issue · 2 comments
cambragol commented
A new game can be started with a player having 'poisoned' status
This is occurring in Fallout: Sonora
This is easy to reproduce.
- Load a game where a player saved while having a poisoned status.
- Then exit the game to Main Menu
- Then start a new game
- Choose a premade character and start game.
- New game character will have 'poisoned' status.
cambragol commented
This occurs with 'Radiated' status too.
cambragol commented
Injuries don't carry over.
So, could this be solved like this?:
if (gCharacterEditorIsCreationMode) {
maxHp = critterGetStat(gDude, STAT_MAXIMUM_HIT_POINTS);
currHp = maxHp;
gDude->data.critter.poison = 0;
gDude->data.critter.radiation = 0;
} else {
maxHp = critterGetStat(gDude, STAT_MAXIMUM_HIT_POINTS);
currHp = critterGetHitPoints(gDude);
}