@@ -1349,11 +1349,21 @@ class JetPauseBeforeTakeoffState : public AIFaceState
1349
1349
1350
1350
// always call this.
1351
1351
StateReturnType superStatus = AIFaceState::update ();
1352
-
1352
+ UnsignedInt now = TheGameLogic->getFrame ();
1353
+
1354
+ #if !RETAIL_COMPATIBLE_CRC
1355
+ if (m_resetTimer && now >= m_whenTransfer)
1356
+ {
1357
+ // once we start the final wait, release the runways for guys behind us, so they can start taxiing
1358
+ ParkingPlaceBehaviorInterface* pp = getPP (jet->getProducerID ());
1359
+ if (pp)
1360
+ pp->transferRunwayReservationToNextInLineForTakeoff (jet->getID ());
1361
+ }
1362
+ #endif
1363
+
1353
1364
if (findWaiter ())
1354
1365
return STATE_CONTINUE;
1355
1366
1356
- UnsignedInt now = TheGameLogic->getFrame ();
1357
1367
if (!m_resetTimer)
1358
1368
{
1359
1369
// we had to wait, but now everyone else is ready, so restart our countdown.
@@ -1379,12 +1389,14 @@ class JetPauseBeforeTakeoffState : public AIFaceState
1379
1389
DEBUG_ASSERTCRASH (m_when != 0 , (" hmm" ));
1380
1390
DEBUG_ASSERTCRASH (m_whenTransfer != 0 , (" hmm" ));
1381
1391
1382
- // once we start the final wait, release the runways for guys behind us, so they can start taxiing
1392
+ #if RETAIL_COMPATIBLE_CRC
1393
+ // once we start the final wait, release the runways for guys behind us, so they can start taxiing
1383
1394
ParkingPlaceBehaviorInterface* pp = getPP (jet->getProducerID ());
1384
1395
if (pp && now >= m_whenTransfer)
1385
1396
{
1386
1397
pp->transferRunwayReservationToNextInLineForTakeoff (jet->getID ());
1387
1398
}
1399
+ #endif
1388
1400
1389
1401
if (now >= m_when)
1390
1402
return superStatus;
0 commit comments