Ignore auto set style when filtering songs for the music wheel in online mode.
This commit is contained in:
+6
-1
@@ -8,6 +8,7 @@
|
||||
#include "RageLog.h"
|
||||
#include "GameState.h"
|
||||
#include "ThemeManager.h"
|
||||
#include "NetworkSyncManager.h"
|
||||
#include "Song.h"
|
||||
#include "Course.h"
|
||||
#include "Steps.h"
|
||||
@@ -474,7 +475,11 @@ void MusicWheel::GetSongList( vector<Song*> &arraySongs, SortOrder so )
|
||||
}
|
||||
else
|
||||
{
|
||||
if(CommonMetrics::AUTO_SET_STYLE)
|
||||
// Online mode doesn't support auto set style. A song that only has
|
||||
// dance-double steps will show up when dance-single was selected, with
|
||||
// no playable steps. Then the game will crash when trying to play it.
|
||||
// -Kyz
|
||||
if(CommonMetrics::AUTO_SET_STYLE && !NSMAN->isSMOnline)
|
||||
{
|
||||
// with AUTO_SET_STYLE on and Autogen off, some songs may get
|
||||
// hidden. Search through every playable StepsType until you
|
||||
|
||||
Reference in New Issue
Block a user