summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/PokemodModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-09 03:48:14 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-09 03:48:14 +0000
commit32a23089b9e2dfe59b3e70be814d8eee9ed9fb61 (patch)
tree1c828ea2f932bf6c859ad9e80f09d1ff24fb386f /pokemodr/models/PokemodModel.cpp
parent39a1b43adbebb73b87c4a2346b9ccb2c2a34753b (diff)
downloadsigen-32a23089b9e2dfe59b3e70be814d8eee9ed9fb61.tar.gz
sigen-32a23089b9e2dfe59b3e70be814d8eee9ed9fb61.tar.xz
sigen-32a23089b9e2dfe59b3e70be814d8eee9ed9fb61.zip
[FIX] Some invalid indexing in PokemodModel
[FIX] Root now makes only 1 Pokemod for now git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@122 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/models/PokemodModel.cpp')
-rw-r--r--pokemodr/models/PokemodModel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemodr/models/PokemodModel.cpp b/pokemodr/models/PokemodModel.cpp
index 01b0d429..b26b2121 100644
--- a/pokemodr/models/PokemodModel.cpp
+++ b/pokemodr/models/PokemodModel.cpp
@@ -832,16 +832,16 @@ BaseModel* PokemodModel::childItem(const int row)
case 13:
model = m_stores;
break;
- case 15:
+ case 14:
model = m_tiles;
break;
- case 16:
+ case 15:
model = m_times;
break;
- case 17:
+ case 16:
model = m_trainers;
break;
- case 18:
+ case 17:
model = m_types;
break;
default: