From 4385af885daf460a18e236f08509358f764b2c8c Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 26 Oct 2007 20:46:09 +0000 Subject: Reverted repo back to rev24 because committing of rev25 messed up git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@26 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/MapWildListPokemon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pokemod/MapWildListPokemon.cpp') diff --git a/pokemod/MapWildListPokemon.cpp b/pokemod/MapWildListPokemon.cpp index 92dc3112..896dcdf4 100644 --- a/pokemod/MapWildListPokemon.cpp +++ b/pokemod/MapWildListPokemon.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: pokemod/MapWildListPokemon.cpp -// Purpose: Define a species that can be found in the wild +// Purpose: Define a Pokémon that can be found in the wild // Author: Ben Boeckel // Modified by: Ben Boeckel // Created: Tue Mar 20 18:50:59 2007 @@ -39,7 +39,7 @@ PokeGen::PokeMod::MapWildListPokemon::MapWildListPokemon(const Pokemod* par, Ini bool PokeGen::PokeMod::MapWildListPokemon::Validate() { pokemod->ValidationMsg(QString("---------Pokémon with id %1---").arg(id), Pokemod::V_Msg); - if (pokemod->GetSpeciesByID(species) == UINT_MAX) + if (pokemod->GetPokemonByID(species) == UINT_MAX) { pokemod->ValidationMsg("Invalid species"); isValid = false; @@ -80,7 +80,7 @@ void PokeGen::PokeMod::MapWildListPokemon::ExportIni(QFile& fout, const QString& bool PokeGen::PokeMod::MapWildListPokemon::SetSpecies(const unsigned s) { - if (pokemod->GetSpeciesByID(s) != UINT_MAX) + if (pokemod->GetPokemonByID(s) != UINT_MAX) { species = s; return true; -- cgit