From 9c4c0ff3a190869c1a217427584d5d6034373c07 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 3 Feb 2009 20:39:06 +0000 Subject: (svn r15326) -Fix: Old-ai-ishm when refitting vehicles. --- src/roadveh_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/roadveh_cmd.cpp') diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 36b15df67..f6b54934c 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -2071,7 +2071,7 @@ CommandCost CmdRefitRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, total_capacity += capacity; - if (IsHumanCompany(v->owner) && new_cid != v->cargo_type) { + if (new_cid != v->cargo_type) { cost.AddCost(GetRefitCost(v->engine_type)); } -- cgit v1.2.3-70-g09d2