summaryrefslogtreecommitdiff
path: root/subsidy_gui.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-06-21 16:28:17 +0000
committercelestar <celestar@openttd.org>2005-06-21 16:28:17 +0000
commit354058341b8500cbb0075c0c568ec12063e84fe7 (patch)
treedbd1b9d6a856fcab15da2adfe0bacfb2bdc19b7e /subsidy_gui.c
parent09f92807fc061b80b976a4134d71670ef4ef64fa (diff)
downloadopenttd-354058341b8500cbb0075c0c568ec12063e84fe7.tar.xz
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Diffstat (limited to 'subsidy_gui.c')
-rw-r--r--subsidy_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsidy_gui.c b/subsidy_gui.c
index d7237a188..1a8929e96 100644
--- a/subsidy_gui.c
+++ b/subsidy_gui.c
@@ -112,7 +112,7 @@ static void DrawSubsidiesWindow(Window *w)
if (s->cargo_type != 0xFF && s->age >= 12) {
SetupSubsidyDecodeParam(s, 1);
- p = DEREF_PLAYER(GetStation(s->to)->owner);
+ p = GetPlayer(GetStation(s->to)->owner);
SetDParam(3, p->name_1);
SetDParam(4, p->name_2);