mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-10-19 03:32:41 +00:00
Return TRUE for interactions with Power Stars when Non-stop mode is enabled (#57)
This commit is contained in:
parent
746dd50c5c
commit
b71c0b4b83
1 changed files with 4 additions and 2 deletions
|
@ -946,9 +946,11 @@ u32 interact_star_or_key(struct MarioState *m, UNUSED u32 interactType, struct O
|
||||||
}
|
}
|
||||||
save_file_do_save(gCurrSaveFileNum - 1, TRUE);
|
save_file_do_save(gCurrSaveFileNum - 1, TRUE);
|
||||||
|
|
||||||
if (!noExit || gServerSettings.stayInLevelAfterStar != 2) {
|
if (noExit && gServerSettings.stayInLevelAfterStar == 2) {
|
||||||
return set_mario_action(m, starGrabAction, noExit + 2 * grandStar);
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return set_mario_action(m, starGrabAction, noExit + 2 * grandStar);
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue