diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-06-02 18:12:48 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-06-02 18:12:48 +0000 |
| commit | c9afda3ab74614fb36986f96b7972c082f275eca (patch) | |
| tree | 1b7c0b31950597d6ed562d94158dd3f8701496da /pokemod/Dialog.cpp | |
| parent | f71140fae5218ee9839ffcd4ec83abfded5124f4 (diff) | |
| download | sigen-c9afda3ab74614fb36986f96b7972c082f275eca.tar.gz sigen-c9afda3ab74614fb36986f96b7972c082f275eca.tar.xz sigen-c9afda3ab74614fb36986f96b7972c082f275eca.zip | |
Finished off all PokeMod classes, added move validations, fixed up some GUI, various other fixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@18 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Dialog.cpp')
| -rw-r--r-- | pokemod/Dialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp index 8a01480e..c7677cf1 100644 --- a/pokemod/Dialog.cpp +++ b/pokemod/Dialog.cpp @@ -25,10 +25,10 @@ extern PokeGen::PokeMod::Pokemod curPokeMod;
-PokeGen::PokeMod::Dialog::Dialog(const unsigned _id)
+PokeGen::PokeMod::Dialog::Dialog(const unsigned _id) :
+ dialog("")
{
LogCtor("Dialog", _id);
- dialog = "";
id = _id;
}
@@ -61,14 +61,14 @@ void PokeGen::PokeMod::Dialog::ImportIni(Ini &ini, const unsigned _id) LogImportStart("Dialog");
if (_id == UINT_MAX)
{
- ini.GetValue("id", id, UINT_MAX);
+ ini.GetValue("id", id);
// Was there an id associated with the element?
if (id == UINT_MAX)
LogIdNotFound("Dialog");
}
else
id = _id;
- ini.GetValue("dialog", dialog, "");
+ ini.GetValue("dialog", dialog);
LogImportOver("Dialog", id);
}
|
