mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-04 18:29:41 +01: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:
parent
596696dcf3
commit
5e440ac48d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue