1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00

Remove special text box checks for y-position 180

Y-position 180 would be the position of the Level Complete and Game
Complete special text boxes in Flip Mode. However, since the y-position
of flipme text boxes actually no longer change (because we have to
accomodate changing Flip Mode on-the-fly), these text boxes will never
actually be y-position 180 - so we should remove these checks for
clarity.
This commit is contained in:
Misa 2021-03-20 23:17:12 -07:00 committed by Ethan Lee
parent 596696dcf3
commit 5e440ac48d

View File

@ -891,7 +891,7 @@ void Graphics::drawgui(void)
// This prevents flashes of special images during delta frames
bool drawspecial = textbox[i].tl >= 1.0;
if ((textbox[i].yp == 12 || textbox[i].yp == 180) && textbox[i].r == 165 && drawspecial)
if (textbox[i].yp == 12 && textbox[i].r == 165 && drawspecial)
{
if (flipmode)
{
@ -902,7 +902,7 @@ void Graphics::drawgui(void)
drawimage(0, 0, 12, true);
}
}
else if ((textbox[i].yp == 12 || textbox[i].yp == 180) && textbox[i].g == 165 && drawspecial)
else if (textbox[i].yp == 12 && textbox[i].g == 165 && drawspecial)
{
if (flipmode)
{