summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Tenant.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
commit5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch)
tree62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2Tenant.cpp
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2Tenant.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/T2DLL/T2Tenant.cpp b/src/T2DLL/T2Tenant.cpp
index 7fb98fb..e1a63eb 100644
--- a/src/T2DLL/T2Tenant.cpp
+++ b/src/T2DLL/T2Tenant.cpp
@@ -1593,13 +1593,13 @@ unsigned int T2Tenant::CheckRouteFromPool(T2TowerDoc* inDoc, unsigned int inScor
POINT entrancePt = GetEntrancePt();
if (theNavigator->CheckRoute(theFloorInfo->GetEntrancePt(1000), entrancePt, inScore))
- checkRoute |= kTransportLobbyLeft | kTransportLobbyRight;
+ checkRoute |= kTransportFlagLobbyLeft | kTransportFlagLobbyRight;
T2RegistedTenantDB *theDB = inDoc->towerDoc_vf174();
T2Tenant *theTenant = theDB->FindEmptyParking();
if (theTenant) {
if (theNavigator->CheckRoute(theTenant->GetExitPt(), entrancePt, inScore))
- checkRoute |= kTransportParking;
+ checkRoute |= kTransportFlagParking;
}
T2TowerEvent *towerEvent = inDoc->towerDoc_vf170()->GetTowerEvent();
@@ -1607,26 +1607,26 @@ unsigned int T2Tenant::CheckRouteFromPool(T2TowerDoc* inDoc, unsigned int inScor
theTenant = theDB->GetFirstTenant(kTenantRegistID8);
if (theTenant && theTenant->IsOpen()) {
if (theNavigator->CheckRoute(theTenant->GetExitPt(), entrancePt, inScore))
- checkRoute |= kTransportSubway;
+ checkRoute |= kTransportFlagSubway;
}
T2Transport *theTransport;
- if (checkRoute & kTransportSubway) {
+ if (checkRoute & kTransportFlagSubway) {
theTransport = towerEvent->GetMetroRailway();
if (theTransport && !theTransport->GetAvailable(theDateTime) != NULL)
- checkRoute &= ~kTransportSubway;
+ checkRoute &= ~kTransportFlagSubway;
}
theTenant = theDB->GetFirstTenant(kTenantRegistID9);
if (theTenant && theTenant->IsOpen()) {
if (theNavigator->CheckRoute(theTenant->GetExitPt(), entrancePt, inScore))
- checkRoute |= kTransportShip;
+ checkRoute |= kTransportFlagShip;
}
- if (checkRoute & kTransportShip) {
+ if (checkRoute & kTransportFlagShip) {
theTransport = towerEvent->GetCruise();
if (theTransport && !theTransport->GetAvailable(theDateTime) != NULL)
- checkRoute &= ~kTransportShip;
+ checkRoute &= ~kTransportFlagShip;
}
return checkRoute;