fix crash
This commit is contained in:
@@ -812,7 +812,7 @@ void SongManager::InitRandomAttacks()
|
|||||||
MsdFile msd;
|
MsdFile msd;
|
||||||
|
|
||||||
if( !msd.ReadFile( ATTACK_FILE, true ) )
|
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
|
else
|
||||||
{
|
{
|
||||||
for( unsigned i=0; i<msd.GetNumValues(); i++ )
|
for( unsigned i=0; i<msd.GetNumValues(); i++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user