The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
This commit is contained in:
@@ -453,7 +453,7 @@ void NoteDataUtil::SplitCompositeNoteData( const NoteData &in, vector<NoteData>
|
||||
Hopefully this hack can be removed soon. -- Jason "Wolfman2000" Felds
|
||||
*/
|
||||
const Style *curStyle = GAMESTATE->GetCurrentStyle();
|
||||
if( (curStyle == NULL || curStyle->m_StyleType == StyleType_TwoPlayersSharedSides )
|
||||
if( (curStyle == nullptr || curStyle->m_StyleType == StyleType_TwoPlayersSharedSides )
|
||||
&& int( tn.pn ) > NUM_PlayerNumber )
|
||||
{
|
||||
tn.pn = PLAYER_1;
|
||||
|
||||
Reference in New Issue
Block a user