diff options
Diffstat (limited to 'pokemod/Store.cpp')
| -rw-r--r-- | pokemod/Store.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pokemod/Store.cpp b/pokemod/Store.cpp index a8e81b45..819e42de 100644 --- a/pokemod/Store.cpp +++ b/pokemod/Store.cpp @@ -43,7 +43,8 @@ Pokemod::Store::Store(const Store& store, const Pokemod* parent, const int id) : Pokemod::Store::Store(const QDomElement& xml, const Pokemod* parent, const int id) : Object("Store", parent, id) { - load(xml, id); + LOAD_ID(); + load(xml); } void Pokemod::Store::validate() @@ -60,9 +61,9 @@ void Pokemod::Store::validate() TEST_END(); } -void Pokemod::Store::load(const QDomElement& xml, int id) +void Pokemod::Store::load(const QDomElement& xml) { - LOAD_ID(); + LOAD_BEGIN(); LOAD_LIST(int, item); } |
