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 | 354058341b8500cbb0075c0c568ec12063e84fe7 (patch) | |
tree | dbd1b9d6a856fcab15da2adfe0bacfb2bdc19b7e /ship_gui.c | |
parent | 09f92807fc061b80b976a4134d71670ef4ef64fa (diff) | |
download | openttd-354058341b8500cbb0075c0c568ec12063e84fe7.tar.xz |
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
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); |