diff options
Diffstat (limited to 'pokemod/Sound.cpp')
| -rw-r--r-- | pokemod/Sound.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pokemod/Sound.cpp b/pokemod/Sound.cpp index e6178c55..21ce2a2e 100644 --- a/pokemod/Sound.cpp +++ b/pokemod/Sound.cpp @@ -44,7 +44,8 @@ Pokemod::Sound::Sound(const Sound& sound, const Pokemod* parent, const int id) : Pokemod::Sound::Sound(const QDomElement& xml, const Pokemod* parent, const int id) : Object("Sound", parent, id) { - load(xml, id); + LOAD_ID(); + load(xml); } void Pokemod::Sound::validate() @@ -57,9 +58,9 @@ void Pokemod::Sound::validate() TEST_END(); } -void Pokemod::Sound::load(const QDomElement& xml, int id) +void Pokemod::Sound::load(const QDomElement& xml) { - LOAD_ID(); + LOAD_BEGIN(); LOAD(QString, name); LOAD(QByteArray, data); } |
