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:
@@ -55,7 +55,7 @@ void RageException::Throw( const char *sFmt, ... )
|
||||
|
||||
ASSERT_M( g_HandlerThreadID == RageThread::GetInvalidThreadID() || g_HandlerThreadID == RageThread::GetCurrentThreadID(),
|
||||
ssprintf("RageException::Throw() on another thread: %s", error.c_str()) );
|
||||
if( g_CleanupHandler != NULL )
|
||||
if( g_CleanupHandler != nullptr )
|
||||
g_CleanupHandler( error );
|
||||
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user