From 3595239f08f2bc1df32ef22ed6de9bde10ca3384 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 4 Jun 2007 01:35:20 +0000 Subject: Style cleanup, minor Matrix fixes, duplication validations, Pokemod methods git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@19 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Time.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pokemod/Time.cpp') diff --git a/pokemod/Time.cpp b/pokemod/Time.cpp index ea49bac0..2e6fc6ab 100644 --- a/pokemod/Time.cpp +++ b/pokemod/Time.cpp @@ -24,9 +24,9 @@ #include "Time.h" PokeGen::PokeMod::Time::Time(const unsigned _id) : - name(""), - startHour(0), - startMinute(0) + name(""), + startHour(0), + startMinute(0) { LogCtor("Time", id); id = _id; @@ -98,7 +98,6 @@ void PokeGen::PokeMod::Time::ImportIni(Ini &ini, const unsigned _id) if (_id == UINT_MAX) { ini.GetValue("id", id); - // Was there an id associated with the element? if (id == UINT_MAX) LogIdNotFound("Time"); } @@ -113,7 +112,6 @@ void PokeGen::PokeMod::Time::ImportIni(Ini &ini, const unsigned _id) void PokeGen::PokeMod::Time::ExportIni(std::ofstream &fout) const { LogExportStart("Time", id, name); - // Make elements Ini exTime("time"); exTime.AddField("id", id); exTime.AddField("name", name); -- cgit