From 4cd6eac4405e7eb5a31de09149db8e5fbca12982 Mon Sep 17 00:00:00 2001 From: MysterD Date: Thu, 22 Jun 2023 23:48:12 -0700 Subject: [PATCH] Prevent dropping items on non-stop star pickup --- src/game/interaction.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game/interaction.c b/src/game/interaction.c index 45fd807e..54ed5336 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -930,7 +930,11 @@ u32 interact_star_or_key(struct MarioState *m, UNUSED u32 interactType, struct O } if (m->health >= 0x100) { - mario_stop_riding_and_holding(m); + + if (gServerSettings.stayInLevelAfterStar != 2) { + mario_stop_riding_and_holding(m); + } + queue_rumble_data_mario(m, 5, 80); if (!noExit) {