The big NULL replacement party part 1.
This is meant to be a safer alternative since NULL can often be 0. Let's not rely on that. And yes, I know this is a lot of files. This is a safer thing to do in big commits vs for loops.
This commit is contained in:
@@ -775,7 +775,7 @@ float ScreenSelectMaster::DoMenuStart( PlayerNumber pn )
|
||||
}
|
||||
if( SHOW_CURSOR )
|
||||
{
|
||||
if(m_sprCursor[pn] != NULL)
|
||||
if(m_sprCursor[pn] != nullptr)
|
||||
{
|
||||
m_sprCursor[pn]->PlayCommand( "Choose" );
|
||||
fSecs = max( fSecs, m_sprCursor[pn]->GetTweenTimeLeft() );
|
||||
|
||||
Reference in New Issue
Block a user