1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 01:29:43 +01:00

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

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