CString -> RString
This commit is contained in:
@@ -22,12 +22,12 @@ ScoreDisplayCalories::~ScoreDisplayCalories()
|
||||
MESSAGEMAN->Unsubscribe( this, m_sMessageOnStep );
|
||||
}
|
||||
|
||||
void ScoreDisplayCalories::LoadFromNode( const CString& sDir, const XNode* pNode )
|
||||
void ScoreDisplayCalories::LoadFromNode( const RString& sDir, const XNode* pNode )
|
||||
{
|
||||
RollingNumbers::LoadFromNode( sDir, pNode );
|
||||
|
||||
{
|
||||
CString sPlayerNumber;
|
||||
RString sPlayerNumber;
|
||||
bool b = pNode->GetAttrValue( "PlayerNumber", sPlayerNumber );
|
||||
ASSERT( b );
|
||||
m_PlayerNumber = (PlayerNumber) LuaHelpers::RunExpressionI(sPlayerNumber);
|
||||
@@ -48,7 +48,7 @@ void ScoreDisplayCalories::Update( float fDelta )
|
||||
RollingNumbers::Update( fDelta );
|
||||
}
|
||||
|
||||
void ScoreDisplayCalories::PlayCommand( const CString &sCommandName, Actor* pParent )
|
||||
void ScoreDisplayCalories::PlayCommand( const RString &sCommandName, Actor* pParent )
|
||||
{
|
||||
if( sCommandName == m_sMessageOnStep )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user