The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "CryptManager.h"
|
||||
#include "XmlFileUtil.h"
|
||||
|
||||
StatsManager* STATSMAN = NULL; // global object accessable from anywhere in the program
|
||||
StatsManager* STATSMAN = nullptr; // global object accessable from anywhere in the program
|
||||
|
||||
void AddPlayerStatsToProfile( Profile *pProfile, const StageStats &ss, PlayerNumber pn );
|
||||
XNode* MakeRecentScoreNode( const StageStats &ss, Trail *pTrail, const PlayerStageStats &pss, MultiPlayer mp );
|
||||
@@ -165,7 +165,7 @@ void AddPlayerStatsToProfile( Profile *pProfile, const StageStats &ss, PlayerNum
|
||||
|
||||
XNode* MakeRecentScoreNode( const StageStats &ss, Trail *pTrail, const PlayerStageStats &pss, MultiPlayer mp )
|
||||
{
|
||||
XNode* pNode = NULL;
|
||||
XNode* pNode = nullptr;
|
||||
if( GAMESTATE->IsCourseMode() )
|
||||
{
|
||||
pNode = new XNode( "HighScoreForACourseAndTrail" );
|
||||
@@ -260,7 +260,7 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS )
|
||||
auto_ptr<XNode> xml( new XNode("Stats") );
|
||||
xml->AppendChild( "MachineGuid", PROFILEMAN->GetMachineProfile()->m_sGuid );
|
||||
|
||||
XNode *recent = NULL;
|
||||
XNode *recent = nullptr;
|
||||
if( GAMESTATE->IsCourseMode() )
|
||||
recent = xml->AppendChild( new XNode("RecentCourseScores") );
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user