fix crash

This commit is contained in:
Glenn Maynard
2008-06-11 22:30:09 +00:00
parent 3bc7d64c79
commit fe65136b7c
+1 -1
View File
@@ -812,7 +812,7 @@ void SongManager::InitRandomAttacks()
MsdFile msd;
if( !msd.ReadFile( ATTACK_FILE, true ) )
LOG->Warn( "Error opening file '%s' for reading: %s.", ATTACK_FILE, msd.GetError().c_str() );
LOG->Warn( "Error opening file '%s' for reading: %s.", ATTACK_FILE.c_str(), msd.GetError().c_str() );
else
{
for( unsigned i=0; i<msd.GetNumValues(); i++ )