[MusicWheelItem] Add/reinstate MusicWheelItem Mode Normal/Color/OverPart.

This commit is contained in:
AJ Kelly
2011-09-24 23:41:03 -05:00
parent abf23da02f
commit 9ced908183
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ StepMania 5.0 $next | 2011????
beat 0. Important information must stay on that beat. [Wolfman2000] beat 0. Important information must stay on that beat. [Wolfman2000]
* [ScreenEdit] Disable converting rows to a stop or beat starting on beat 0. * [ScreenEdit] Disable converting rows to a stop or beat starting on beat 0.
There should be no reason for this at this time. [Wolfman2000] There should be no reason for this at this time. [Wolfman2000]
* [MusicWheelItem] Add/reinstate MusicWheelItem Mode Normal/Color/OverPart. [AJ]
2011/09/23 2011/09/23
---------- ----------
+4
View File
@@ -241,6 +241,10 @@ void MusicWheelItem::LoadFromWheelItemData( const WheelItemBaseData *pData, int
break; break;
case TYPE_SORT: case TYPE_SORT:
sDisplayName = pWID->m_sLabel; sDisplayName = pWID->m_sLabel;
// hack to get mode items working. -freem
if( pWID->m_pAction->m_pm != PlayMode_Invalid )
type = MusicWheelItemType_Mode;
else
type = MusicWheelItemType_Sort; type = MusicWheelItemType_Sort;
break; break;
case TYPE_ROULETTE: case TYPE_ROULETTE: