Simplify.
This commit is contained in:
@@ -1161,11 +1161,7 @@ void Profile::LoadGeneralDataFromNode( const XNode* pNode )
|
||||
pNode->GetChildValue( "TotalGameplaySeconds", m_iTotalGameplaySeconds );
|
||||
pNode->GetChildValue( "CurrentCombo", m_iCurrentCombo );
|
||||
pNode->GetChildValue( "TotalCaloriesBurned", m_fTotalCaloriesBurned );
|
||||
{
|
||||
int temp;
|
||||
pNode->GetChildValue( "GoalType", temp );
|
||||
m_GoalType = GoalType( temp );
|
||||
}
|
||||
pNode->GetChildValue( "GoalType", UnionCast(m_GoalType) );
|
||||
pNode->GetChildValue( "GoalCalories", m_iGoalCalories );
|
||||
pNode->GetChildValue( "GoalSeconds", m_iGoalSeconds );
|
||||
pNode->GetChildValue( "LastPlayedMachineGuid", m_sLastPlayedMachineGuid );
|
||||
|
||||
Reference in New Issue
Block a user