summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleArray.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2PeopleArray.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/T2DLL/T2PeopleArray.cpp b/src/T2DLL/T2PeopleArray.cpp
index 91edc64..f60debd 100644
--- a/src/T2DLL/T2PeopleArray.cpp
+++ b/src/T2DLL/T2PeopleArray.cpp
@@ -44,23 +44,23 @@ T2People* T2PeopleArray::FindUnusedPeople() {
/*virtual*/ void T2PeopleArray::DispatchIdle(T2TowerDoc* towerDoc, int startIndex) {
int i;
- T2People *people;
+ T2People *thePeople;
- people = &mPeople[startIndex];
+ thePeople = &mPeople[startIndex];
for (i = startIndex; i < 256; i += 8) {
- if (people->mUsed)
- people->Idle(towerDoc);
- people += 8;
+ if (thePeople->mUsed)
+ thePeople->Idle(towerDoc);
+ thePeople += 8;
}
- people = mPeople;
- int walkRate = towerDoc->towerDoc_vf148();
+ thePeople = mPeople;
+ int theWalkRate = towerDoc->towerDoc_vf148();
for (i = 0; i < 256; i++) {
- if (people->mUsed) {
- if ((walkRate > 0 && !(i % walkRate)) || people->IsSetSpecialFlag(kSpecialFlag20))
- people->IdleSearchedPerson(towerDoc);
+ if (thePeople->mUsed) {
+ if ((theWalkRate > 0 && !(i % theWalkRate)) || thePeople->IsSetSpecialFlag(kSpecialFlag20))
+ thePeople->IdleSearchedPerson(towerDoc);
}
- people++;
+ thePeople++;
}
}