mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fix niceplay() check having hardcoded number of MMMMMM tracks
The number of MMMMMM tracks is no longer guaranteed to be 16 anymore, and instead it should use num_mmmmmm_tracks.
This commit is contained in:
parent
93775ecde2
commit
f0b9bdc007
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ void musicclass::processmusic()
|
|||
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+16))
|
||||
if((!mmmmmm && currentsong!=t) || (mmmmmm && usingmmmmmm && currentsong!=t) || (mmmmmm && !usingmmmmmm && currentsong!=t+num_mmmmmm_tracks))
|
||||
{
|
||||
if(currentsong!=-1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue