mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-14 00:53:07 -07:00
Full health spawn (#2377)
* full health spawn Co-authored-by: MoriyaFaith <46070717+MoriyaFaith@users.noreply.github.com> * add enahancement to gamemenubar, update to use new cvar method names, simplify save loading logic so loading a save with less than 3 hearts spawns with full hearts with enhancement enabled instead of spawing with 3 * formatting Co-authored-by: MoriyaFaith <46070717+MoriyaFaith@users.noreply.github.com>
This commit is contained in:
parent
4291ec8252
commit
a9e7faa180
4 changed files with 5 additions and 2 deletions
|
@ -207,7 +207,7 @@ void Sram_OpenSave() {
|
|||
osSyncPrintf(VT_RST);
|
||||
|
||||
if (gSaveContext.health < 0x30) {
|
||||
gSaveContext.health = 0x30;
|
||||
gSaveContext.health = CVarGetInteger("gFullHealthSpawn", 0) ? gSaveContext.healthCapacity : 0x30;
|
||||
}
|
||||
|
||||
if (gSaveContext.scarecrowLongSongSet) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue