summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index ae475173a..c6c03f5c6 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -942,7 +942,7 @@ static void PlayerAircraftWndProc(Window *w, WindowEvent *e)
/* draw the widgets */
{
- const Player *p = DEREF_PLAYER(owner);
+ const Player *p = GetPlayer(owner);
if (station == -1) {
/* Company Name -- (###) Aircraft */
SetDParam(0, p->name_1);