diff options
Diffstat (limited to 'pokemod/MapEffect.cpp')
| -rw-r--r-- | pokemod/MapEffect.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp index e3e1d1f5..2f333f2c 100644 --- a/pokemod/MapEffect.cpp +++ b/pokemod/MapEffect.cpp @@ -48,7 +48,8 @@ Pokemod::MapEffect::MapEffect(const MapEffect& effect, const Map* parent, const Pokemod::MapEffect::MapEffect(const QDomElement& xml, const Map* parent, const int id) : Object("MapEffect", parent, id) { - load(xml, id); + LOAD_ID(); + load(xml); } void Pokemod::MapEffect::validate() @@ -61,9 +62,9 @@ void Pokemod::MapEffect::validate() TEST_END(); } -void Pokemod::MapEffect::load(const QDomElement& xml, int id) +void Pokemod::MapEffect::load(const QDomElement& xml) { - LOAD_ID(); + LOAD_BEGIN(); LOAD(QString, name); LOAD(Point, coordinate); LOAD(QPixmap, skin); |
