diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-04-25 22:25:05 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-04-25 22:25:05 +0000 |
| commit | f444f5a45e9325644a360f656176d47d7f540f52 (patch) | |
| tree | 9206d27c3ed1d0bcf6fe70560f7b22fe98f4d880 /pokemod/Nature.cpp | |
| parent | e13073c4357b2b85eba8a015f38e9f69f4d1799c (diff) | |
[FIX] Matrix edge case when size is (0,0)
[FIX] TypeChart mess fixed
[FIX] Test code for RootModel added
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@110 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Nature.cpp')
| -rw-r--r-- | pokemod/Nature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Nature.cpp b/pokemod/Nature.cpp index 5dfdad69..873d720c 100644 --- a/pokemod/Nature.cpp +++ b/pokemod/Nature.cpp @@ -108,7 +108,7 @@ QString Nature::name() const Fraction Nature::stat(const int stat) const throw(BoundsException) { - if ((pokemod()->rules()->specialSplit() ? Pokemod::ST_End_GSC : Pokemod::ST_End_RBY) <= stat) + if (Pokemod::ST_End_GSC <= stat) warning<BoundsException>("stat"); return m_stat[stat]; } |
