mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
fix n64 save creation with randomizer disabled
This commit is contained in:
parent
bb0d9627a4
commit
0dd4ab8f72
1 changed files with 7 additions and 2 deletions
|
@ -439,8 +439,13 @@ void FileChoose_DrawNameEntry(GameState* thisx) {
|
|||
|
||||
gSaveContext.fileNum = this->buttonIndex;
|
||||
|
||||
this->n64ddFlags[this->buttonIndex] = CVar_GetS32("gRandomizer", 0) != 0;
|
||||
gSaveContext.n64ddFlag = CVar_GetS32("gRandomizer", 0) != 0;
|
||||
this->n64ddFlag = 0;
|
||||
|
||||
if (CVar_GetS32("gRandomizer", 0) != 0) {
|
||||
this->n64ddFlags[this->buttonIndex] = 1;
|
||||
this->n64ddFlag = 1;
|
||||
gSaveContext.n64ddFlag = 1;
|
||||
}
|
||||
|
||||
dayTime = ((void)0, gSaveContext.dayTime);
|
||||
Sram_InitSave(this, &this->sramCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue