summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-14 15:15:56 +0000
committerDarkvater <darkvater@openttd.org>2006-10-14 15:15:56 +0000
commit2dcdeb985d481ca44208d8d675eda31db7d4c9ff (patch)
tree2149ebda4f454f9dd52f174d0062275bb83fd28f /aircraft_cmd.c
parent91ac1fa1864d556127ba692f30d67df618fd7063 (diff)
downloadopenttd-2dcdeb985d481ca44208d8d675eda31db7d4c9ff.tar.xz
(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
IS_INTERACTIVE_PLAYER
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 80bec98f5..1bec78aff 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -627,7 +627,7 @@ int32 CmdRefitAircraft(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
_returned_refit_capacity = pass;
cost = 0;
- if (IS_HUMAN_PLAYER(v->owner) && new_cid != v->cargo_type) {
+ if (IsHumanPlayer(v->owner) && new_cid != v->cargo_type) {
cost = GetRefitCost(v->engine_type);
}