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

Fix visual clash between timer and trophy text

Trophy text can overlap with the timer. How bad it is depends on the
localization but in English some text definitely overlaps.

Simple fix is to disable rendering the timer if we are rendering any
trophy text.
This commit is contained in:
Misa 2024-01-09 16:55:37 -08:00
parent b3b001c2a8
commit 9676bf0006

View file

@ -2325,6 +2325,7 @@ void gamerender(void)
&& game.showingametimer && game.showingametimer
&& !roomname_translator::enabled && !roomname_translator::enabled
&& (!game.swnmode || game.swngame != SWN_START_GRAVITRON_STEP_3) && (!game.swnmode || game.swngame != SWN_START_GRAVITRON_STEP_3)
&& obj.trophytext <= 0 && obj.oldtrophytext <= 0
&& !draw_return_editor_text && !draw_return_editor_text
&& !draw_mode_indicator_text) && !draw_mode_indicator_text)
{ {