diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-24 22:36:40 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-24 22:36:40 +0000 |
commit | 1e02a507f0b481465f5b47441479b98a81aee079 (patch) | |
tree | a6a108f187ec6f134c60470fdf317d0a77b2fdd3 /pokemod/MoveEffect.cpp | |
parent | 26c9e526435474aa3e7f8e1be39dfb474dd8b368 (diff) | |
download | sigen-1e02a507f0b481465f5b47441479b98a81aee079.tar.gz sigen-1e02a507f0b481465f5b47441479b98a81aee079.tar.xz sigen-1e02a507f0b481465f5b47441479b98a81aee079.zip |
[FIX] KTabWidget now used rather than QTabWidget (though this kills Qt Designer interaction :\ )
[FIX] Minor fixes in PokeModr class
[DEL] Ref.{h, cpp}
[FIX] Ref enumerations now in Pokemod class
[FIX] new/delete used for subclasses in pokemod now
[FIX] Inclusion hell in pokemod (should compile faster)
[FIX] Spelling typos
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@82 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/MoveEffect.cpp')
-rw-r--r-- | pokemod/MoveEffect.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pokemod/MoveEffect.cpp b/pokemod/MoveEffect.cpp index e2baf049..7db04244 100644 --- a/pokemod/MoveEffect.cpp +++ b/pokemod/MoveEffect.cpp @@ -20,8 +20,6 @@ // with this program. If not, see <http://www.gnu.org/licenses/>. ///////////////////////////////////////////////////////////////////////////// -#include <Ref.h> - #include "Pokemod.h" #include "MoveEffect.h" @@ -133,11 +131,11 @@ void MoveEffect::setVal1(const int v1) throw(Exception) break; case E_Status: case E_NeedStatus: - if (STS_End <= v1) + if (Pokemod::STS_End <= v1) throw(BoundsException(className, "val1")); throw; case E_Stat: - if (ST_End_Battle <= v1) + if (Pokemod::ST_End_Battle <= v1) throw(BoundsException(className, "val1")); break; case E_Counter: |