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/Nature.cpp | |
| parent | e858d98977a09b3c8faf4df87ada4abc1399e8e5 (diff) | |
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/Nature.cpp')
| -rw-r--r-- | pokemod/Nature.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemod/Nature.cpp b/pokemod/Nature.cpp index 62fcd177..404b759f 100644 --- a/pokemod/Nature.cpp +++ b/pokemod/Nature.cpp @@ -113,8 +113,8 @@ void PokeGen::PokeMod::Nature::ImportIni(Ini &ini, unsigned _id) }
else
id = _id;
- effects.clear();
ini.GetValue("name", name, "");
+ effects.clear();
LogImportOver("Nature");
}
@@ -149,7 +149,7 @@ PokeGen::PokeMod::NatureEffect *PokeGen::PokeMod::Nature::GetNatureEffect(unsign if (effects[i].GetId() == _id)
return &effects[i];
}
- LogSubmodule("Nature", "effect", _id, id, name);
+ LogSubmoduleFetchFail("Nature", id, "effect", _id, name);
return NULL;
}
|
