diff options
author | KUDr <kudr@openttd.org> | 2007-02-15 22:00:04 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-02-15 22:00:04 +0000 |
commit | 72cdfb635280dd0f63f78436e3c92d3d9d6416b6 (patch) | |
tree | abebf6e0d7ba11e3c1614426287c4cc1741a26e1 /src/ai | |
parent | 6460d5b441884c76131df128872049a56b1f48b6 (diff) | |
download | openttd-72cdfb635280dd0f63f78436e3c92d3d9d6416b6.tar.xz |
(svn r8750) -Fix (r8747): PLANES defined in wingdi.h caused compilation error under Win32. Changed to AIRPLANES
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/default/default.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp index f015de8be..957993edb 100644 --- a/src/ai/default/default.cpp +++ b/src/ai/default/default.cpp @@ -3269,7 +3269,7 @@ static void AiStateAirportStuff(Player *p) AirportFTAClass::Flags flags = GetAirport(st->airport_type)->flags; - if (!(flags & (p->ai.build_kind == 1 && i == 0 ? AirportFTAClass::HELICOPTERS : AirportFTAClass::PLANES))) { + if (!(flags & (p->ai.build_kind == 1 && i == 0 ? AirportFTAClass::HELICOPTERS : AirportFTAClass::AIRPLANES))) { continue; } @@ -3292,7 +3292,7 @@ static void AiStateAirportStuff(Player *p) * broken because they will probably need different * tileoff values etc), no matter that * IsHangarTile() makes no sense. --pasky */ - if (!(flags & AirportFTAClass::PLANES)) { + if (!(flags & AirportFTAClass::AIRPLANES)) { /* Heliports should have maybe own rulesets but * OTOH we don't want AI to pick them up when * looking for a suitable airport type to build. |