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:
parent
18730b465e
commit
40b0f9ec36
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue