1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-07-01 08:58:31 +02:00

Remove remnant of 'active' if-conditional

This commit removes that 'if (true)' and unindents everything in
drawgui() by one level.
This commit is contained in:
Misa 2020-04-03 17:26:29 -07:00 committed by Ethan Lee
parent bc0d22eec6
commit 2ec1080b3d

View File

@ -580,8 +580,6 @@ void Graphics::drawgui()
{ {
//This routine also updates the textboxs //This routine also updates the textboxs
textbox[i].update(); textbox[i].update();
if (true) //FIXME: remove this later (no more 'active')
{
if (textbox[i].tm == 2 && textbox[i].tl <= 0.5) if (textbox[i].tm == 2 && textbox[i].tl <= 0.5)
{ {
textbox.erase(textbox.begin() + i); textbox.erase(textbox.begin() + i);
@ -722,7 +720,6 @@ void Graphics::drawgui()
} }
} }
} }
}
void Graphics::drawimagecol( int t, int xp, int yp, int r = 0, int g = 0, int b = 0, bool cent/*= false*/ ) void Graphics::drawimagecol( int t, int xp, int yp, int r = 0, int g = 0, int b = 0, bool cent/*= false*/ )
{ {