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

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

View file

@ -2189,10 +2189,10 @@ static void mode_indicator_text(const int alpha)
/* Prevent clashing */ /* Prevent clashing */
y = 20; 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 */ /* Prevent clashing */
y = 37; y = game.activity_y + 37;
} }
/* FIXME: Some strings have not yet been translated. In order to not have /* FIXME: Some strings have not yet been translated. In order to not have