summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-13 18:04:01 +0000
committertron <tron@openttd.org>2005-07-13 18:04:01 +0000
commit8c1d74162f1544e351ae6308cbcca06f324c2c36 (patch)
treeb36523450a7bccf37ca126b6f857d1529d44c67b /aircraft_gui.c
parent1a1dde7c8d0cf18e49b5af7fef1368216120eed1 (diff)
downloadopenttd-8c1d74162f1544e351ae6308cbcca06f324c2c36.tar.xz
(svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index df8ba122d..a235e68d9 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -509,7 +509,7 @@ static void AircraftViewWndProc(Window *w, WindowEvent *e)
TileIndex tile = v->tile;
if (IsTileType(tile, MP_STATION) &&
- (_map5[tile] == 32 || _map5[tile] == 65) &&
+ (_m[tile].m5 == 32 || _m[tile].m5 == 65) &&
v->vehstatus&VS_STOPPED)
disabled = 0;
}
@@ -646,7 +646,7 @@ static void DrawAircraftDepotWindow(Window *w)
}
SetVScrollCount(w, (num + w->hscroll.cap - 1) / w->hscroll.cap);
- SetDParam(0, _map2[tile]);
+ SetDParam(0, _m[tile].m2);
DrawWindowWidgets(w);
x = 2;