summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleTimeZoneList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2PeopleTimeZoneList.cpp')
-rw-r--r--src/T2DLL/T2PeopleTimeZoneList.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/T2DLL/T2PeopleTimeZoneList.cpp b/src/T2DLL/T2PeopleTimeZoneList.cpp
index 1b3578a..7fc6d80 100644
--- a/src/T2DLL/T2PeopleTimeZoneList.cpp
+++ b/src/T2DLL/T2PeopleTimeZoneList.cpp
@@ -10,7 +10,7 @@ T2PeopleTimeZoneList::T2PeopleTimeZoneList(unsigned int someNum, unsigned int is
: LArray(sizeof(T2PeopleTypeArray *))
{
mIsFixed = isFixed;
- _20 = 0;
+ _20 = false;
mHoursPerItem = 0;
mCurrentItem = 0;
mCurrentHour = 0;
@@ -28,7 +28,7 @@ T2PeopleTimeZoneList::T2PeopleTimeZoneList(T2Archive& archive, T2WorldDef* world
: LArray(sizeof(T2PeopleTypeArray *))
{
#pragma var_order(uc, c, i, count)
- _20 = 0;
+ _20 = false;
mWorldDef = worldDef;
int count;
@@ -89,9 +89,9 @@ void T2PeopleTimeZoneList::Add(T2PeopleType* inPeopleType, T2PoolDefDemandElem*
}
}
-void T2PeopleTimeZoneList::Init(unsigned int someNum, float limit) {
- mCurrentItem = someNum / mHoursPerItem;
- mCurrentHour = someNum % mHoursPerItem;
+void T2PeopleTimeZoneList::Init(unsigned int inHour, float limit) {
+ mCurrentItem = inHour / mHoursPerItem;
+ mCurrentHour = inHour % mHoursPerItem;
T2PeopleTypeArray *array;
LArrayIterator iterator(*this);