summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-07-13 16:37:27 +0000
committersmatz <smatz@openttd.org>2009-07-13 16:37:27 +0000
commitb6960e4e17c9d9464041d8c04907a5e1caf5c609 (patch)
tree9a5101e644b98bd50bdb6d5f7adc7bbe17aee09a /src/station.cpp
parent868c21cbcc3b04e4e6649417ff94763a82c7d8b5 (diff)
downloadopenttd-b6960e4e17c9d9464041d8c04907a5e1caf5c609.tar.xz
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp
index b4b26e2df..8cb1a8cc4 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -63,7 +63,7 @@ Station::~Station()
Aircraft *a;
FOR_ALL_AIRCRAFT(a) {
- if (!IsNormalAircraft(a)) continue;
+ if (!a->IsNormalAircraft()) continue;
if (a->targetairport == this->index) a->targetairport = INVALID_STATION;
}