From 1a4b623c8ecb9d0c7d991312c12d78be4a68eff2 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 23 May 2007 02:24:14 +0000 Subject: Added more PokéMod modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@13 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/PokemonEvolution.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pokemod/PokemonEvolution.cpp') 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); -- cgit