The big NULL replacement party part 2.

This may take a bit. Trying to do this by operator/command.
This commit is contained in:
Jason Felds
2013-05-03 23:11:42 -04:00
parent 9f24627bf9
commit ba59dd1656
174 changed files with 6644 additions and 6644 deletions
+3 -3
View File
@@ -164,7 +164,7 @@ void Sprite::LoadFromNode( const XNode* pNode )
for( int i=0; true; i++ )
{
const XNode *pFrame = pFrames->GetChild( ssprintf("%i", i+1) ); // +1 for Lua's arrays
if( pFrame == NULL )
if( pFrame == nullptr )
break;
State newState;
@@ -315,7 +315,7 @@ void Sprite::LoadStatesFromTexture()
// Assume the frames of this animation play in sequential order with 0.1 second delay.
m_States.clear();
if( m_pTexture == NULL )
if( m_pTexture == nullptr )
{
State newState;
newState.fDelay = 0.1f;
@@ -566,7 +566,7 @@ void Sprite::DrawTexture( const TweenState *state )
bool Sprite::EarlyAbortDraw() const
{
return m_pTexture == NULL;
return m_pTexture == nullptr;
}
void Sprite::DrawPrimitives()