summaryrefslogtreecommitdiffstats
path: root/pokemod/MoveEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/MoveEffect.cpp')
-rw-r--r--pokemod/MoveEffect.cpp6
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);
}