diff options
Diffstat (limited to 'pokemod/Time.cpp')
| -rw-r--r-- | pokemod/Time.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemod/Time.cpp b/pokemod/Time.cpp index b506390c..ea49bac0 100644 --- a/pokemod/Time.cpp +++ b/pokemod/Time.cpp @@ -23,12 +23,12 @@ #include "Time.h"
-PokeGen::PokeMod::Time::Time(const unsigned _id)
+PokeGen::PokeMod::Time::Time(const unsigned _id) :
+ name(""),
+ startHour(0),
+ startMinute(0)
{
LogCtor("Time", id);
- name = "";
- startHour = 0;
- startMinute = 0;
id = _id;
}
@@ -97,7 +97,7 @@ void PokeGen::PokeMod::Time::ImportIni(Ini &ini, const unsigned _id) LogImportStart("Time");
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("Time");
|
