Return TRUE for interactions with Power Stars when Non-stop mode is enabled (#57)
This commit is contained in:
parent
746dd50c5c
commit
b71c0b4b83
|
@ -946,9 +946,11 @@ u32 interact_star_or_key(struct MarioState *m, UNUSED u32 interactType, struct O
|
|||
}
|
||||
save_file_do_save(gCurrSaveFileNum - 1, TRUE);
|
||||
|
||||
if (!noExit || gServerSettings.stayInLevelAfterStar != 2) {
|
||||
return set_mario_action(m, starGrabAction, noExit + 2 * grandStar);
|
||||
if (noExit && gServerSettings.stayInLevelAfterStar == 2) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return set_mario_action(m, starGrabAction, noExit + 2 * grandStar);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue