From 2dcdeb985d481ca44208d8d675eda31db7d4c9ff Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 14 Oct 2006 15:15:56 +0000 Subject: (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and IS_INTERACTIVE_PLAYER --- roadveh_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roadveh_cmd.c') diff --git a/roadveh_cmd.c b/roadveh_cmd.c index a5064b8ff..04959beee 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -1804,7 +1804,7 @@ int32 CmdRefitRoadVeh(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); } -- cgit v1.2.3-54-g00ecf