diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:15:56 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:15:56 +0000 |
commit | 68c0320be653cf4d966cb0e15532264db304f438 (patch) | |
tree | 2149ebda4f454f9dd52f174d0062275bb83fd28f /ship_cmd.c | |
parent | 0da1dc314b2fc38a54c0c77e80a268233314ee7b (diff) | |
download | openttd-68c0320be653cf4d966cb0e15532264db304f438.tar.xz |
(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
IS_INTERACTIVE_PLAYER
Diffstat (limited to 'ship_cmd.c')
-rw-r--r-- | ship_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c index 2580ef2cf..691008073 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -1089,7 +1089,7 @@ int32 CmdRefitShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) _returned_refit_capacity = capacity; 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); } |