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:
parent
1ec06c6f5c
commit
1c3274645d
1 changed files with 5 additions and 3 deletions
|
@ -404,10 +404,12 @@ void musicclass::processmusic(void)
|
||||||
|
|
||||||
void musicclass::niceplay(int t)
|
void musicclass::niceplay(int t)
|
||||||
{
|
{
|
||||||
// important: do nothing if the correct song is playing!
|
/* 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 ((!mmmmmm && currentsong != t)
|
||||||
|
|| (mmmmmm && usingmmmmmm && currentsong != t)
|
||||||
|
|| (mmmmmm && !usingmmmmmm && currentsong != t + num_mmmmmm_tracks))
|
||||||
{
|
{
|
||||||
if(currentsong!=-1)
|
if (currentsong != -1)
|
||||||
{
|
{
|
||||||
fadeout(false);
|
fadeout(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue