Tolerate no default.

This commit is contained in:
Glenn Maynard
2003-10-09 00:19:51 +00:00
parent 4a9c6e66db
commit 2e7cf4cb7d
+6 -1
View File
@@ -313,7 +313,12 @@ int ScreenOptionsMaster::ImportOption( const OptionRow &row, const OptionRowHand
}
}
RAGE_ASSERT_M( ret != -1, ssprintf("%s line %i (\"%s\"): couldn't find default", m_sName.c_str(), rowno, row.name.c_str()) );
if( ret == -1 )
{
LOG->Warn( "%s line %i (\"%s\"): couldn't find default", m_sName.c_str(), rowno, row.name.c_str() );
ret = 0;
}
return ret;
}
case ROW_STEP: