diff options
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r-- | roadveh_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c index 0092285cb..9c3bcf8c9 100644 --- a/roadveh_gui.c +++ b/roadveh_gui.c @@ -826,7 +826,7 @@ static void PlayerRoadVehWndProc(Window *w, WindowEvent *e) /* draw the widgets */ { - const Player *p = DEREF_PLAYER(owner); + const Player *p = GetPlayer(owner); if (station == -1) { /* Company Name -- (###) Road vehicles */ SetDParam(0, p->name_1); |