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 Sprite::Load( RageTextureID ID )
{ {
bool result; if( ID.filename.empty() )
if( ID.filename == "" ) return true;
result = true;
else else
result = LoadFromTexture( ID ); return LoadFromTexture( ID );
return result;
}; };
void Sprite::LoadFromNode( const CString& sDir, const XNode* pNode ) void Sprite::LoadFromNode( const CString& sDir, const XNode* pNode )