diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-05-29 01:02:16 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-05-29 01:02:16 +0000 |
| commit | 9e28e6ecd358a9801ad25914d3e8cca7b6d7f4f7 (patch) | |
| tree | 8f200e87bc1fa3f1bbd2152dad0e62924c33ae12 /pokemod/PokemonAbility.cpp | |
| parent | dc9682d704118840457aa3434711eba6e003eafc (diff) | |
| download | sigen-9e28e6ecd358a9801ad25914d3e8cca7b6d7f4f7.tar.gz sigen-9e28e6ecd358a9801ad25914d3e8cca7b6d7f4f7.tar.xz sigen-9e28e6ecd358a9801ad25914d3e8cca7b6d7f4f7.zip | |
Lots of minor fixes, added TODO file, Move methods
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@16 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/PokemonAbility.cpp')
| -rw-r--r-- | pokemod/PokemonAbility.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/PokemonAbility.cpp b/pokemod/PokemonAbility.cpp index fbd1b5f2..1fbd75c9 100644 --- a/pokemod/PokemonAbility.cpp +++ b/pokemod/PokemonAbility.cpp @@ -123,7 +123,7 @@ void PokeGen::PokeMod::PokemonAbility::SetAbility(const String &a) {
LogSetVar("PokemonAbility", id, "ability", a);
if (Ability *temp = curPokeMod.GetAbility(a))
- ability = a->GetId();
+ ability = temp->GetId();
}
void PokeGen::PokeMod::PokemonAbility::SetWeight(const unsigned w)
|
