no message

This commit is contained in:
Chris Danford
2002-05-27 18:36:01 +00:00
parent b723efdaba
commit 7800df57a1
42 changed files with 464 additions and 684 deletions
+6
View File
@@ -87,6 +87,12 @@ void GameDef::GetSkinNames( CStringArray &AddTo )
{
CString sBaseSkinFolder = "Skins\\" + CString(m_szName) + "\\";
GetDirListing( sBaseSkinFolder + "*.*", AddTo, true );
// strip out "CVS"
for( int i=AddTo.GetSize()-1; i>=0; i-- )
if( 0 == stricmp("cvs", AddTo[i]) )
AddTo.RemoveAt( i );
if( AddTo.GetSize() == 0 )
FatalError( "The folder '%s' must contain at least one skin.", sBaseSkinFolder );
}