summaryrefslogtreecommitdiffstats
path: root/pokemod/MapWildList.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-01-21 06:38:00 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-01-21 06:38:00 +0000
commit342fa6879e9fd8a757ebabe0a30370137b8d83a7 (patch)
tree647fb184567a481dc86373116203740c2607f366 /pokemod/MapWildList.cpp
parentb2e515e6badeb033bbdb53b28424d3b8e7289067 (diff)
downloadsigen-342fa6879e9fd8a757ebabe0a30370137b8d83a7.tar.gz
sigen-342fa6879e9fd8a757ebabe0a30370137b8d83a7.tar.xz
sigen-342fa6879e9fd8a757ebabe0a30370137b8d83a7.zip
[FIX] const char*[] -> QStringList for easier laoding into KComboBox
[DEL] pokemod/pokemod_inc.h no longer needed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@37 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/MapWildList.cpp')
-rw-r--r--pokemod/MapWildList.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/pokemod/MapWildList.cpp b/pokemod/MapWildList.cpp
index e64a92b4..8c85c72b 100644
--- a/pokemod/MapWildList.cpp
+++ b/pokemod/MapWildList.cpp
@@ -25,14 +25,13 @@
#include <QMap>
#include <QMapIterator>
#include <QMutableListIterator>
-#include <QStringList>
#include <QStringListIterator>
#include "Pokemod.h"
#include "Item.h"
#include "ItemEffect.h"
#include "MapWildList.h"
-const char* PokeMod::MapWildList::ControlStr[PokeMod::MapWildList::End] = {"Grass", "Surfing", "Fishing", "Dive", "Headbutt", "Rock Smash"};
+const QStringList PokeMod::MapWildList::ControlStr = QStringList() << "Grass" << "Surfing" << "Fishing" << "Dive" << "Headbutt" << "Rock Smash";
PokeMod::MapWildList::MapWildList(const Pokemod& par, const unsigned _id) :
Object(par, _id),