From aa7334a3eca674131dc1198c592c7e4a925f1d56 Mon Sep 17 00:00:00 2001 From: celestar Date: Tue, 21 Jun 2005 16:28:17 +0000 Subject: (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer --- station_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station_gui.c') diff --git a/station_gui.c b/station_gui.c index 294e14f34..edf7f3238 100644 --- a/station_gui.c +++ b/station_gui.c @@ -154,7 +154,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e) /* draw widgets, with player's name in the caption */ { - Player *p = DEREF_PLAYER(window_number); + Player *p = GetPlayer(window_number); SetDParam(0, p->name_1); SetDParam(1, p->name_2); SetDParam(2, w->vscroll.count); -- cgit v1.2.3-70-g09d2