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

Fix up style in musicclass::play()

- Multiline comment instead of single-line.
- Spacing fixes.
- Long line broken up into smaller ones.
This commit is contained in:
Misa 2021-08-22 15:27:39 -07:00
parent 1ec06c6f5c
commit 1c3274645d

View file

@ -404,10 +404,12 @@ void musicclass::processmusic(void)
void musicclass::niceplay(int t)
{
// important: do nothing if the correct song is playing!
if((!mmmmmm && currentsong!=t) || (mmmmmm && usingmmmmmm && currentsong!=t) || (mmmmmm && !usingmmmmmm && currentsong!=t+num_mmmmmm_tracks))
/* important: do nothing if the correct song is playing! */
if ((!mmmmmm && currentsong != t)
|| (mmmmmm && usingmmmmmm && currentsong != t)
|| (mmmmmm && !usingmmmmmm && currentsong != t + num_mmmmmm_tracks))
{
if(currentsong!=-1)
if (currentsong != -1)
{
fadeout(false);
}