res specs are always "2x3", not "2X3"
This commit is contained in:
@@ -53,8 +53,6 @@ void RageTexture::GetFrameDimensionsFromFileName( CString sPath, int* piFramesWi
|
|||||||
{
|
{
|
||||||
*piFramesWide = *piFramesHigh = 1; // set default values in case we don't find the dimension in the file name
|
*piFramesWide = *piFramesHigh = 1; // set default values in case we don't find the dimension in the file name
|
||||||
|
|
||||||
sPath.MakeLower();
|
|
||||||
|
|
||||||
const CString sFName = SetExtension( sPath, "" );
|
const CString sFName = SetExtension( sPath, "" );
|
||||||
|
|
||||||
CStringArray arrayBits;
|
CStringArray arrayBits;
|
||||||
@@ -78,7 +76,6 @@ void RageTexture::GetFrameDimensionsFromFileName( CString sPath, int* piFramesWi
|
|||||||
*piFramesHigh = atoi(arrayDimensionsBits[1]);
|
*piFramesHigh = atoi(arrayDimensionsBits[1]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int RageTexture::GetFrameCountFromFileName( CString sPath )
|
int RageTexture::GetFrameCountFromFileName( CString sPath )
|
||||||
|
|||||||
Reference in New Issue
Block a user