The big NULL replacement party part 3.

Getting there I think.
This commit is contained in:
Jason Felds
2013-05-03 23:16:39 -04:00
parent ba59dd1656
commit a3f37dc2b4
73 changed files with 1880 additions and 1880 deletions
+3 -3
View File
@@ -313,7 +313,7 @@ Trail* Course::GetTrail( StepsType st, CourseDifficulty cd ) const
{
CacheData &cache = it->second;
if( cache.null )
return NULL;
return nullptr;
return &cache.trail;
}
}
@@ -331,7 +331,7 @@ Trail* Course::GetTrailForceRegenCache( StepsType st, CourseDifficulty cd ) cons
{
// This course difficulty doesn't exist.
cache.null = true;
return NULL;
return nullptr;
}
// If we have cached RadarValues for this trail, insert them.
@@ -738,7 +738,7 @@ const Style *Course::GetCourseStyle( const Game *pGame, int iNumPlayers ) const
return pStyle;
}
}
return NULL;
return nullptr;
}
void Course::InvalidateTrailCache()