summaryrefslogtreecommitdiff
path: root/town_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_gui.c')
-rw-r--r--town_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_gui.c b/town_gui.c
index 0767e078f..7ae10afb5 100644
--- a/town_gui.c
+++ b/town_gui.c
@@ -52,7 +52,7 @@ uint GetMaskOfTownActions(int *nump, PlayerID pid, const Town *t)
}
// Things worth more than this are not shown
- avail = DEREF_PLAYER(pid)->player_money + _price.station_value * 200;
+ avail = GetPlayer(pid)->player_money + _price.station_value * 200;
ref = _price.build_industry >> 8;
for (i = 0; i != lengthof(_town_action_costs); i++, avail_buttons >>= 1) {