diff options
author | celestar <celestar@openttd.org> | 2005-06-21 16:28:17 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-06-21 16:28:17 +0000 |
commit | aa7334a3eca674131dc1198c592c7e4a925f1d56 (patch) | |
tree | dbd1b9d6a856fcab15da2adfe0bacfb2bdc19b7e /station_gui.c | |
parent | e2df1d71d5ec39f89c540f116c1cb0b765a74229 (diff) | |
download | openttd-aa7334a3eca674131dc1198c592c7e4a925f1d56.tar.xz |
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Diffstat (limited to 'station_gui.c')
-rw-r--r-- | station_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |