diff options
Diffstat (limited to 'pokemod/CoinList.cpp')
| -rw-r--r-- | pokemod/CoinList.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pokemod/CoinList.cpp b/pokemod/CoinList.cpp index c15a1585..a342862d 100644 --- a/pokemod/CoinList.cpp +++ b/pokemod/CoinList.cpp @@ -48,7 +48,8 @@ Pokemod::CoinList::CoinList(const CoinList& coinList, const Pokemod* parent, con Pokemod::CoinList::CoinList(const QDomElement& xml, const Pokemod* parent, const int id) : Object("CoinList", parent, id) { - load(xml, id); + LOAD_ID(); + load(xml); } Pokemod::CoinList::~CoinList() @@ -99,9 +100,9 @@ void Pokemod::CoinList::validate() TEST_END(); } -void Pokemod::CoinList::load(const QDomElement& xml, int id) +void Pokemod::CoinList::load(const QDomElement& xml) { - LOAD_ID(); + LOAD_BEGIN(); LOAD(QString, name); LOAD(Script, script); LOAD_SUB(newObject, CoinListObject); |
