Account for position of prompt in mode text

I forgot that the position of the activity zone can vary based on
setactivityposition() in custom levels. So account for that.
Additionally, if the activity zone prompt is far down enough, then we
don't need to move the mode text at all.
This commit is contained in:
Misa 2024-01-09 17:48:53 -08:00
parent 18730b465e
commit 40b0f9ec36
1 changed files with 2 additions and 2 deletions

View File

@ -2189,10 +2189,10 @@ static void mode_indicator_text(const int alpha)
/* Prevent clashing */
y = 20;
}
if (game.act_fade > 5 || game.prev_act_fade > 5)
if ((game.act_fade > 5 || game.prev_act_fade > 5) && game.activity_y < 60)
{
/* Prevent clashing */
y = 37;
y = game.activity_y + 37;
}
/* FIXME: Some strings have not yet been translated. In order to not have