summaryrefslogtreecommitdiffstats
path: root/pokemod/Rules.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-06-28 19:37:45 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-06-28 19:37:45 +0000
commit300e44b68e075d7fd78287e10262b0d502f4898d (patch)
tree4c7d74eeb963f7f71c277d9fcc4275047a64a15c /pokemod/Rules.cpp
parentd0a69fb182b3f11dd8073d1a3d33a61a75da66fc (diff)
downloadsigen-300e44b68e075d7fd78287e10262b0d502f4898d.tar.gz
sigen-300e44b68e075d7fd78287e10262b0d502f4898d.tar.xz
sigen-300e44b68e075d7fd78287e10262b0d502f4898d.zip
[FIX] Macros fixed and ID can't be set outside of constructors
[FIX] Map flyWarp no longer raises and error by default git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@216 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Rules.cpp')
-rw-r--r--pokemod/Rules.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pokemod/Rules.cpp b/pokemod/Rules.cpp
index 225679ac..ded6a566 100644
--- a/pokemod/Rules.cpp
+++ b/pokemod/Rules.cpp
@@ -97,8 +97,9 @@ void Pokemod::Rules::validate()
TEST_END();
}
-void Pokemod::Rules::load(const QDomElement& xml, const int /*id*/)
+void Pokemod::Rules::load(const QDomElement& xml)
{
+ LOAD_BEGIN();
LOAD(bool, genderAllowed);
LOAD(bool, breedingAllowed);
LOAD(bool, criticalDomains);