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/MoveEffect.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/MoveEffect.cpp')
| -rw-r--r-- | pokemod/MoveEffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemod/MoveEffect.cpp b/pokemod/MoveEffect.cpp index ef459680..fc05511d 100644 --- a/pokemod/MoveEffect.cpp +++ b/pokemod/MoveEffect.cpp @@ -64,7 +64,7 @@ void PokeGen::PokeMod::MoveEffect::ImportIni(Ini &ini, const unsigned _id) LogImportStart("MoveEffect");
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("MoveEffect");
@@ -110,13 +110,13 @@ void PokeGen::PokeMod::MoveEffect::SetChance(const unsigned n, const unsigned d) void PokeGen::PokeMod::MoveEffect::SetChanceNum(const unsigned n)
{
- LogSetVar("MoveEffect", id, "chance numerator", n, true);
+ LogSetVar("MoveEffect", id, "chance numerator", n);
chance.SetNum(n);
}
void PokeGen::PokeMod::MoveEffect::SetChanceDenom(const unsigned d)
{
- LogSetVar("MoveEffect", id, "chance denominator", d, false);
+ LogSetVar("MoveEffect", id, "chance denominator", d);
chance.SetDenom(d);
}
|
