diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-10-17 05:46:40 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-10-17 05:46:40 +0000 |
| commit | b3e1495f7a626bb4429ff5e4f3ad39ae9654f23b (patch) | |
| tree | 8a188df964484e7dcf630e792dccfa1766c2f8f0 /sigmod/Nature.cpp | |
| parent | 47428274a07bce9be5e62f82aeeb7e57aa21037f (diff) | |
[FIX] Moved Hat, Fraction, Matrix, and Script to sigcore
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@281 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmod/Nature.cpp')
| -rw-r--r-- | sigmod/Nature.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmod/Nature.cpp b/sigmod/Nature.cpp index add4a764..5df36bc3 100644 --- a/sigmod/Nature.cpp +++ b/sigmod/Nature.cpp @@ -86,7 +86,7 @@ void Sigmod::Nature::setName(const QString& name) CHECK(name); } -void Sigmod::Nature::setStat(const Stat stat, const Fraction& multiplier) +void Sigmod::Nature::setStat(const Stat stat, const Sigcore::Fraction& multiplier) { switch (stat) { @@ -114,7 +114,7 @@ QString Sigmod::Nature::name() const return m_name; } -Sigmod::Fraction Sigmod::Nature::stat(const Stat stat) const +Sigcore::Fraction Sigmod::Nature::stat(const Stat stat) const { switch (stat) { @@ -124,7 +124,7 @@ Sigmod::Fraction Sigmod::Nature::stat(const Stat stat) const return m_stat[stat - ST_Attack]; default: emit(warning(bounds("stat"))); - return Fraction(); + return Sigcore::Fraction(); } } |
