mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fixed some music bugs
Previously, when MMMMMM is installed but the user is using PPPPPP, niceplay would still restart the song even if it's the same. That has been fixed. In addition, Plenary and Path Complete no longer loop when MMMMMM is installed but PPPPPP is in use.
This commit is contained in:
parent
df1c1303bf
commit
c665d5b8c8
1 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ void musicclass::play(int t)
|
|||
{
|
||||
// musicfade = 0;
|
||||
currentsong = t;
|
||||
if (currentsong == 0 || currentsong == 7)
|
||||
if (currentsong == 0 || currentsong == 7 || currentsong == 16 || currentsong == 23)
|
||||
{
|
||||
// Level Complete theme, no fade in or repeat
|
||||
// musicchannel = musicchan[currentsong].play(0);
|
||||
|
@ -412,7 +412,7 @@ void musicclass::processmusic()
|
|||
void musicclass::niceplay(int t)
|
||||
{
|
||||
// important: do nothing if the correct song is playing!
|
||||
if(currentsong!=t)
|
||||
if((!mmmmmm && currentsong!=t) || (mmmmmm && usingmmmmmm && currentsong!=t) || (mmmmmm && !usingmmmmmm && currentsong!=t+16))
|
||||
{
|
||||
if(currentsong!=-1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue