summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
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);