diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2StairModule.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/T2DLL/T2StairModule.cpp b/src/T2DLL/T2StairModule.cpp index 751943f..ec2e5c3 100644 --- a/src/T2DLL/T2StairModule.cpp +++ b/src/T2DLL/T2StairModule.cpp @@ -26,19 +26,19 @@ void T2StairModule::MoverIDChanged(unsigned int moverID) { } /*virtual*/ void T2StairModule::RemoveContents(T2TowerDoc* towerDoc) { - T2FloorInfo *floorInfo = towerDoc->towerDoc_vf12C(); + T2FloorInfo *theFloorInfo = towerDoc->towerDoc_vf12C(); while (mLink1) { - T2People *people = (T2People *) mLink1; - Leave(people); + T2People *thePeople = (T2People *) mLink1; + Leave(thePeople); - POINT pt = mModuleRect.TopLeft(); + POINT theNextPt = mModuleRect.TopLeft(); if (mDirection != kStairDirection1) - pt.y = mModuleRect.bottom - 1; + theNextPt.y = mModuleRect.bottom - 1; - T2Tenant *floor = floorInfo->GetFloor(pt.y, pt.x); - if (floor) - floor->Enter(people); + T2Tenant *theFloor = theFloorInfo->GetFloor(theNextPt.y, theNextPt.x); + if (theFloor) + theFloor->Enter(thePeople); } } |