disable difficulty change for oni courses
This commit is contained in:
@@ -262,11 +262,14 @@ void ScreenSelectCourse::Input( const DeviceInput& DeviceI, InputEventType type,
|
|||||||
|
|
||||||
if( CodeDetector::EnteredHarderDifficulty(GameI.controller) &&
|
if( CodeDetector::EnteredHarderDifficulty(GameI.controller) &&
|
||||||
!GAMESTATE->m_bDifficultCourses)
|
!GAMESTATE->m_bDifficultCourses)
|
||||||
|
{
|
||||||
|
if (GAMESTATE->m_PlayMode != PLAY_MODE_ONI) // disable difficult courses on oni mode
|
||||||
{
|
{
|
||||||
m_soundChangeNotes.Play();
|
m_soundChangeNotes.Play();
|
||||||
GAMESTATE->m_bDifficultCourses = true;
|
GAMESTATE->m_bDifficultCourses = true;
|
||||||
SCREENMAN->PostMessageToTopScreen(SM_SongChanged,0);
|
SCREENMAN->PostMessageToTopScreen(SM_SongChanged,0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Screen::Input( DeviceI, type, GameI, MenuI, StyleI ); // default input handler
|
Screen::Input( DeviceI, type, GameI, MenuI, StyleI ); // default input handler
|
||||||
|
|||||||
Reference in New Issue
Block a user