diff options
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c index 89eaefabf..2eb01cb74 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -926,7 +926,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) /* draw the widgets */ { - const Player *p = DEREF_PLAYER(owner); + const Player *p = GetPlayer(owner); if (station == -1) { /* Company Name -- (###) Trains */ SetDParam(0, p->name_1); |