fix crash
This commit is contained in:
@@ -564,6 +564,7 @@ void BGAnimationLayer::LoadFromIni( CString sAniDir, CString sLayer )
|
|||||||
|
|
||||||
{
|
{
|
||||||
const IniFile::key *key = ini.GetKey( sLayer );
|
const IniFile::key *key = ini.GetKey( sLayer );
|
||||||
|
if( key )
|
||||||
for( IniFile::key::const_iterator i = key->begin();
|
for( IniFile::key::const_iterator i = key->begin();
|
||||||
i != key->end(); ++i)
|
i != key->end(); ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user