diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-04-19 23:38:51 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-04-19 23:38:51 +0000 |
| commit | f4f3176a6dcdaf5e463f39a657dd4ca04386a6ad (patch) | |
| tree | 9807262b48268eecf6ae7967aa64f30666091f2a /pokemod/Map.cpp | |
| parent | fe31331e2807634ae659e372358bac5781de9130 (diff) | |
[FIX] Loading of submodules
[FIX] Loading the id now defaults to INT_MAX
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@101 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Map.cpp')
| -rw-r--r-- | pokemod/Map.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemod/Map.cpp b/pokemod/Map.cpp index 5f1a0fd0..6e00dc6b 100644 --- a/pokemod/Map.cpp +++ b/pokemod/Map.cpp @@ -190,10 +190,10 @@ void Map::load(const QDomElement& xml, int id) LOAD(int, flyWarp); LOAD(int, type); LOAD_MATRIX(setTile, Fraction, tile); - LOAD_SUB(newEffect, effects); - LOAD_SUB(newTrainer, trainers); - LOAD_SUB(newWarp, warps); - LOAD_SUB(newWildList, wildLists); + LOAD_SUB(newEffect, MapEffect); + LOAD_SUB(newTrainer, MapTrainer); + LOAD_SUB(newWarp, MapWarp); + LOAD_SUB(newWildList, MapWildList); } QDomElement Map::save() const |
