summaryrefslogtreecommitdiffstats
path: root/pokemod/CoinListObject.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-02-02 05:01:24 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-02-02 05:01:24 +0000
commitfa06bab5688417517e342b0b42a1b06e845aa778 (patch)
tree3c5b19a84cb46cd20af095957f7a6154b44f7067 /pokemod/CoinListObject.cpp
parent91df1e8e35656314a8f6574521f1804d926bddbb (diff)
downloadsigen-fa06bab5688417517e342b0b42a1b06e845aa778.tar.gz
sigen-fa06bab5688417517e342b0b42a1b06e845aa778.tar.xz
sigen-fa06bab5688417517e342b0b42a1b06e845aa778.zip
[ADD] CoinListObjectUI.{h, cpp}
[FIX] object where parameter o should be in CoinListObject git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@56 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/CoinListObject.cpp')
-rw-r--r--pokemod/CoinListObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/CoinListObject.cpp b/pokemod/CoinListObject.cpp
index 6327001b..b5fe3726 100644
--- a/pokemod/CoinListObject.cpp
+++ b/pokemod/CoinListObject.cpp
@@ -113,7 +113,7 @@ void CoinListObject::setType(const int t) throw(BoundsException)
void CoinListObject::setObject(const int o) throw(BoundsException)
{
- if (((type == Item) && (pokemod.getItemIndex(object) == -1)) || ((type == Species) && (pokemod.getSpeciesIndex(object) == -1)))
+ if (((type == Item) && (pokemod.getItemIndex(o) == -1)) || ((type == Species) && (pokemod.getSpeciesIndex(o) == -1)))
throw(BoundsException(className, "object"));
object = o;
}