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:
@@ -69,13 +69,13 @@ void RageSoundManager::Shutdown()
|
||||
|
||||
void RageSoundManager::StartMixing( RageSoundBase *pSound )
|
||||
{
|
||||
if( m_pDriver != NULL )
|
||||
if( m_pDriver != nullptr )
|
||||
m_pDriver->StartMixing( pSound );
|
||||
}
|
||||
|
||||
void RageSoundManager::StopMixing( RageSoundBase *pSound )
|
||||
{
|
||||
if( m_pDriver != NULL )
|
||||
if( m_pDriver != nullptr )
|
||||
m_pDriver->StopMixing( pSound );
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ void RageSoundManager::Update()
|
||||
|
||||
g_SoundManMutex.Unlock(); /* finished with m_mapPreloadedSounds */
|
||||
|
||||
if( m_pDriver != NULL )
|
||||
if( m_pDriver != nullptr )
|
||||
m_pDriver->Update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user