From 8a7b1d407af4cd72cd96ae16d947ce7efda8a217 Mon Sep 17 00:00:00 2001 From: Kyzentun Keeslala Date: Wed, 29 Jun 2016 15:36:48 -0600 Subject: [PATCH] Ignore auto set style when filtering songs for the music wheel in online mode. --- src/MusicWheel.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/MusicWheel.cpp b/src/MusicWheel.cpp index 538e5475fa..8fd1f37fbb 100644 --- a/src/MusicWheel.cpp +++ b/src/MusicWheel.cpp @@ -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 &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