summaryrefslogtreecommitdiffstats
path: root/pokemod/PokemonItem.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-05-29 01:02:16 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-05-29 01:02:16 +0000
commit9e28e6ecd358a9801ad25914d3e8cca7b6d7f4f7 (patch)
tree8f200e87bc1fa3f1bbd2152dad0e62924c33ae12 /pokemod/PokemonItem.cpp
parentdc9682d704118840457aa3434711eba6e003eafc (diff)
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/PokemonItem.cpp')
-rw-r--r--pokemod/PokemonItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/PokemonItem.cpp b/pokemod/PokemonItem.cpp
index 1fa640b8..1e18b6ca 100644
--- a/pokemod/PokemonItem.cpp
+++ b/pokemod/PokemonItem.cpp
@@ -147,7 +147,7 @@ int PokeGen::PokeMod::PokemonItem::GetItem() const
PokeGen::PokeMod::String PokeGen::PokeMod::PokemonItem::GetItemString() const
{
LogFetchVar("PokemonItem", id, "item string", item);
- if (Item *i = curPokeMod.GetItem(i))
+ if (Item *i = curPokeMod.GetItem(item))
return i->GetName();
return "";
}