Replace StringToInt with the std version.
Again, RageUtil isn't the right home.
This commit is contained in:
@@ -402,16 +402,16 @@ void BGAnimationLayer::LoadFromNode( const XNode* pNode )
|
||||
{
|
||||
m_Type = TYPE_TILES;
|
||||
}
|
||||
else if( StringToInt(type) == 1 )
|
||||
else if( std::stoi(type) == 1 )
|
||||
{
|
||||
m_Type = TYPE_SPRITE;
|
||||
bStretch = true;
|
||||
}
|
||||
else if( StringToInt(type) == 2 )
|
||||
else if( std::stoi(type) == 2 )
|
||||
{
|
||||
m_Type = TYPE_PARTICLES;
|
||||
}
|
||||
else if( StringToInt(type) == 3 )
|
||||
else if( std::stoi(type) == 3 )
|
||||
{
|
||||
m_Type = TYPE_TILES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user