summaryrefslogtreecommitdiff
path: root/town_cmd.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 /town_cmd.c
parent09f92807fc061b80b976a4134d71670ef4ef64fa (diff)
downloadopenttd-354058341b8500cbb0075c0c568ec12063e84fe7.tar.xz
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index afe80e2b4..f3f90382e 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -1556,7 +1556,7 @@ static void TownActionRoadRebuild(Town *t, int action)
SetDParam(0, t->index);
- p = DEREF_PLAYER(_current_player);
+ p = GetPlayer(_current_player);
SetDParam(1, p->name_1);
SetDParam(2, p->name_2);