This commit is contained in:
Glenn Maynard
2005-10-11 02:08:12 +00:00
parent 049af2408d
commit a736d97aa2
+3 -6
View File
@@ -110,13 +110,10 @@ bool Sprite::LoadBG( RageTextureID ID )
bool Sprite::Load( RageTextureID ID )
{
bool result;
if( ID.filename == "" )
result = true;
if( ID.filename.empty() )
return true;
else
result = LoadFromTexture( ID );
return result;
return LoadFromTexture( ID );
};
void Sprite::LoadFromNode( const CString& sDir, const XNode* pNode )