diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-05-23 02:24:14 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-05-23 02:24:14 +0000 |
| commit | 1a4b623c8ecb9d0c7d991312c12d78be4a68eff2 (patch) | |
| tree | 97e260380c334f8f55ac6d82f174ce8604d7dd6c /pokemod/Ability.cpp | |
| parent | e858d98977a09b3c8faf4df87ada4abc1399e8e5 (diff) | |
| download | sigen-1a4b623c8ecb9d0c7d991312c12d78be4a68eff2.tar.gz sigen-1a4b623c8ecb9d0c7d991312c12d78be4a68eff2.tar.xz sigen-1a4b623c8ecb9d0c7d991312c12d78be4a68eff2.zip | |
Added more PokéMod modules
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@13 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Ability.cpp')
| -rw-r--r-- | pokemod/Ability.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pokemod/Ability.cpp b/pokemod/Ability.cpp index 0d05af7c..6b298c6a 100644 --- a/pokemod/Ability.cpp +++ b/pokemod/Ability.cpp @@ -122,6 +122,7 @@ void PokeGen::PokeMod::Ability::ImportIni(Ini &ini, unsigned _id) else
id = _id;
ini.GetValue("name", name, "");
+ effects.clear();
LogImportOver("Ability", id, name);
}
@@ -158,7 +159,7 @@ PokeGen::PokeMod::AbilityEffect *PokeGen::PokeMod::Ability::GetAbilityEffect(uns if (effects[i].GetId() == _id)
return &effects[i];
}
- LogSubmoduleFetch("Ability", id, "effect", _id, name);
+ LogSubmoduleFetchFail("Ability", id, "effect", _id, name);
return NULL;
}
|
