diff options
Diffstat (limited to 'pokemod/MapWarp.cpp')
| -rw-r--r-- | pokemod/MapWarp.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pokemod/MapWarp.cpp b/pokemod/MapWarp.cpp index e3f1f090..872fe894 100644 --- a/pokemod/MapWarp.cpp +++ b/pokemod/MapWarp.cpp @@ -51,7 +51,8 @@ Pokemod::MapWarp::MapWarp(const MapWarp& warp, const Map* parent, const int id) Pokemod::MapWarp::MapWarp(const QDomElement& xml, const Map* parent, const int id) : Object("MapWarp", parent, id) { - load(xml, id); + LOAD_ID(); + load(xml); } void Pokemod::MapWarp::validate() @@ -65,9 +66,9 @@ void Pokemod::MapWarp::validate() TEST_END(); } -void Pokemod::MapWarp::load(const QDomElement& xml, int id) +void Pokemod::MapWarp::load(const QDomElement& xml) { - LOAD_ID(); + LOAD_BEGIN(); LOAD(QString, name); LOAD(Point, coordinate); LOAD(int, type); |
