From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/T2Tenant.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/T2DLL/T2Tenant.cpp') 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; -- cgit v1.2.3