From 94db03caf32ddda849e32287a7a135a01467ecea Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 24 Dec 2008 04:49:18 -0500 Subject: Another typo with the cases --- sigmod/Badge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sigmod/Badge.cpp') diff --git a/sigmod/Badge.cpp b/sigmod/Badge.cpp index 6fd18ff5..542bc09e 100644 --- a/sigmod/Badge.cpp +++ b/sigmod/Badge.cpp @@ -176,7 +176,7 @@ Sigcore::Fraction Sigmod::Badge::stat(const Stat stat) const { switch (stat) { - case ST_SpecialDefense - ST_Attack + 1: + case ST_SpecialDefense: if (sigmod()->rules()->specialSplit()) case ST_Attack ... ST_Special: return m_stat[stat - ST_Attack]; -- cgit