summaryrefslogtreecommitdiff
path: root/ai/default
diff options
context:
space:
mode:
Diffstat (limited to 'ai/default')
-rw-r--r--ai/default/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/default/default.c b/ai/default/default.c
index 752d2cac9..54a550599 100644
--- a/ai/default/default.c
+++ b/ai/default/default.c
@@ -1457,7 +1457,7 @@ static void AiWantAircraftRoute(Player *p)
{
uint16 r = (uint16)Random();
- if (r >= 0x2AAA || _date < 0x3912) {
+ if (r >= 0x2AAA || _date < 0x3912 + DAYS_TILL_ORIGINAL_BASE_YEAR) {
AiWantPassengerAircraftRoute(p);
} else {
AiWantOilRigAircraftRoute(p);