summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Transport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2Transport.cpp')
-rw-r--r--src/T2DLL/T2Transport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/T2DLL/T2Transport.cpp b/src/T2DLL/T2Transport.cpp
index a3e1ac3..67adf7a 100644
--- a/src/T2DLL/T2Transport.cpp
+++ b/src/T2DLL/T2Transport.cpp
@@ -149,7 +149,7 @@ BOOL T2Transport::ChkStoppage() const {
BOOL result = false;
if (mFlag) {
- T2DateTime *theNow = DoGetTowerDoc()->towerDoc_vf120();
+ T2DateTime *theNow = DoGetTowerDoc()->GetNow();
int nowMinutes = theNow->GetRawMinutes();
int diff = nowMinutes - mArriveTime;
result = (diff >= 0 && diff < (_2C + 1));
@@ -269,7 +269,7 @@ CLink* T2Transport::LeaveFirst() {
do {
thePeople = (T2People *) LeaveFirst();
if (thePeople)
- inDoc->towerDoc_vf130()->Enter(thePeople);
+ inDoc->GetPool()->Enter(thePeople);
}
while (thePeople);