Hack for the hack. Fix cache bug.
Maybe all notes should be assigned a player number regardless of mode here: I do not feel NoteDataUtil should depend on Style.h like this.
This commit is contained in:
@@ -454,7 +454,8 @@ void NoteDataUtil::SplitCompositeNoteData( const NoteData &in, vector<NoteData>
|
|||||||
occuring to begin with, but at this time, I am unsure how to deal with it.
|
occuring to begin with, but at this time, I am unsure how to deal with it.
|
||||||
Hopefully this hack can be removed soon. -- Jason "Wolfman2000" Felds
|
Hopefully this hack can be removed soon. -- Jason "Wolfman2000" Felds
|
||||||
*/
|
*/
|
||||||
if( GAMESTATE->GetCurrentStyle()->m_StyleType == StyleType_TwoPlayersSharedSides
|
const Style *curStyle = GAMESTATE->GetCurrentStyle();
|
||||||
|
if( (curStyle == NULL || curStyle->m_StyleType == StyleType_TwoPlayersSharedSides )
|
||||||
&& int( tn.pn ) > NUM_PlayerNumber )
|
&& int( tn.pn ) > NUM_PlayerNumber )
|
||||||
{
|
{
|
||||||
tn.pn = PLAYER_1;
|
tn.pn = PLAYER_1;
|
||||||
|
|||||||
Reference in New Issue
Block a user