(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer

This commit is contained in:
celestar
2005-06-21 16:28:17 +00:00
parent 09f92807fc
commit 354058341b
26 changed files with 73 additions and 74 deletions

View File

@@ -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) {