From 0f7ab90e7fe02d8ca28c9863f7a594f71b8d4175 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 26 Apr 2005 07:03:00 +0000 Subject: [PATCH] allow changing difficulty on sections --- stepmania/src/ScreenSelectMusic.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index de335b5407..a7dd8d3c92 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -1060,6 +1060,7 @@ void ScreenSelectMusic::ChangeDifficulty( PlayerNumber pn, int dir ) case TYPE_RANDOM: case TYPE_ROULETTE: + case TYPE_SECTION: /* XXX: We could be on a music or course sort, or even one with both; we don't * really know which difficulty to change. Maybe the two difficulties should be * linked ... */ @@ -1082,6 +1083,8 @@ void ScreenSelectMusic::ChangeDifficulty( PlayerNumber pn, int dir ) AfterStepsChange( vpns ); } break; + default: + ASSERT(0); } }