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/MapEffect.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/MapEffect.cpp')
-rw-r--r-- | pokemod/MapEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp index 5ca7f96f..484e304f 100644 --- a/pokemod/MapEffect.cpp +++ b/pokemod/MapEffect.cpp @@ -104,7 +104,7 @@ bool MapEffect::validate() const pokemod->validationMsg("Invalid effect"); valid = false; } - if (D_End_None <= direction) + if (Pokemod::D_End_None <= direction) { pokemod->validationMsg("Invalid driection"); valid = false; @@ -247,7 +247,7 @@ void MapEffect::setVal2(const int v2) throw(Exception) void MapEffect::setDirection(const int d) throw(BoundsException) { - if (D_End_None <= d) + if (Pokemod::D_End_None <= d) throw(BoundsException(className, "direction")); direction = d; } |