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/PokemonEvolution.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/PokemonEvolution.cpp')
| -rw-r--r-- | pokemod/PokemonEvolution.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemod/PokemonEvolution.cpp b/pokemod/PokemonEvolution.cpp index c355a89c..89cc45eb 100644 --- a/pokemod/PokemonEvolution.cpp +++ b/pokemod/PokemonEvolution.cpp @@ -40,7 +40,7 @@ PokeGen::PokeMod::PokemonEvolution::PokemonEvolution(Ini &ini, unsigned _id) {
LogCtorIni("PokemonEvolution", _id);
ImportIni(ini);
- if(_id == UINT_MAX)
+ if (id == UINT_MAX)
LogIdError("PokemonEvolution");
}
@@ -129,11 +129,11 @@ void PokeGen::PokeMod::PokemonEvolution::ImportIni(Ini &ini, unsigned _id) LogImportOver("PokemonEvolution", id);
}
-void PokeGen::PokeMod::PokemonEvolution::ExportIni(std::ofstream &fout) const
+void PokeGen::PokeMod::PokemonEvolution::ExportIni(std::ofstream &fout, const String &pokemon) const
{
LogExportStart("PokemonEvolution", id);
// Make elements
- Ini exPokemonEvolution("PokemonEvolution");
+ Ini exPokemonEvolution(pokemon + " pokemonEvolution");
exPokemonEvolution.AddField("id", id);
exPokemonEvolution.AddField("species", species);
exPokemonEvolution.AddField("style", style);
|
