diff options
author | tron <tron@openttd.org> | 2007-02-03 13:03:11 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-03 13:03:11 +0000 |
commit | 1a3b4b7394314864356dfb5e40e12dedd4b670d9 (patch) | |
tree | f379d9c86409257099d882453dc9dafc2fd07f67 /src/newgrf_engine.cpp | |
parent | 2e30da531b61fda9ce04f31101724d4f58d882c3 (diff) | |
download | openttd-1a3b4b7394314864356dfb5e40e12dedd4b670d9.tar.xz |
(svn r8559) -Fix
-Codechange: Put the airport movement data into struct AirportFTAClass
Diffstat (limited to 'src/newgrf_engine.cpp')
-rw-r--r-- | src/newgrf_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index 7732c77f1..08e910cf1 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -288,7 +288,7 @@ enum { static byte MapAircraftMovementState(const Vehicle *v) { const Station *st = GetStation(v->u.air.targetairport); - byte amdflag = GetAirportMovingData(st->airport_type, v->u.air.pos)->flag; + byte amdflag = GetAirport(st->airport_type)->MovingData(v->u.air.pos)->flag; switch (v->u.air.state) { case HANGAR: |