From 3595239f08f2bc1df32ef22ed6de9bde10ca3384 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 4 Jun 2007 01:35:20 +0000 Subject: Style cleanup, minor Matrix fixes, duplication validations, Pokemod methods git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@19 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/PokemonMove.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pokemod/PokemonMove.cpp') diff --git a/pokemod/PokemonMove.cpp b/pokemod/PokemonMove.cpp index 7aa75024..e3d0df75 100644 --- a/pokemod/PokemonMove.cpp +++ b/pokemod/PokemonMove.cpp @@ -100,7 +100,6 @@ void PokeGen::PokeMod::PokemonMove::ImportIni(Ini &ini, const unsigned _id) if (_id == UINT_MAX) { ini.GetValue("id", id); - // Was there an id associated with the element? if (id == UINT_MAX) LogIdNotFound("PokemonMove"); } @@ -115,8 +114,7 @@ void PokeGen::PokeMod::PokemonMove::ImportIni(Ini &ini, const unsigned _id) void PokeGen::PokeMod::PokemonMove::ExportIni(std::ofstream &fout, const String &pokemon) const { LogExportStart("PokemonMove", id); - // Make elements - Ini exPokemonMove(pokemon + " pokemonMove"); + Ini exPokemonMove("pokemonMove " + pokemon); exPokemonMove.AddField("id", id); exPokemonMove.AddField("move", move); exPokemonMove.AddField("level", level); -- cgit