mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user