mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01:00
Reduce indentation of "else if" in Graphics::cutscenebars()
There's no need to put the if-statement inside an entire else-block if it's the only if-statement in there.
This commit is contained in:
parent
2510d3a6ba
commit
57f87dc820
1 changed files with 4 additions and 8 deletions
|
@ -844,16 +844,12 @@ void Graphics::cutscenebars()
|
|||
FillRect(backBuffer, 0, 0, usethispos, 16, 0x000000);
|
||||
FillRect(backBuffer, 360-usethispos, 224, usethispos, 16, 0x000000);
|
||||
}
|
||||
else
|
||||
{
|
||||
//disappearing
|
||||
if (cutscenebarspos > 0)
|
||||
else if (cutscenebarspos > 0) //disappearing
|
||||
{
|
||||
//draw
|
||||
FillRect(backBuffer, 0, 0, usethispos, 16, 0x000000);
|
||||
FillRect(backBuffer, 360-usethispos, 224, usethispos, 16, 0x000000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Graphics::cutscenebarstimer()
|
||||
|
|
Loading…
Reference in a new issue