diff --git a/ship_gui.c b/ship_gui.c --- a/ship_gui.c +++ b/ship_gui.c @@ -926,7 +926,7 @@ static void PlayerShipsWndProc(Window *w /* 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);