Make sure mode text is visible above act prompts

This makes the mode indicator text be visible even if there is an
activity zone prompt on screen, by making it so that it gets moved if an
activity prompt is being rendered.

This is to make sure that it's visible no matter what, even if e.g. a
custom level starts the player on an activity zone.
This commit is contained in:
Misa 2024-01-09 17:06:33 -08:00
parent 9676bf0006
commit d8b97db6a8
1 changed files with 6 additions and 1 deletions

View File

@ -2187,7 +2187,12 @@ static void mode_indicator_text(const int alpha)
if (game.advancetext)
{
/* Prevent clashing */
y += 15;
y = 20;
}
if (game.act_fade > 5 || game.prev_act_fade > 5)
{
/* Prevent clashing */
y = 37;
}
/* FIXME: Some strings have not yet been translated. In order to not have