equal
deleted
inserted
replaced
113 Vehicle *v; |
113 Vehicle *v; |
114 byte unit_num; |
114 byte unit_num; |
115 uint tile = TILE_FROM_XY(x,y); |
115 uint tile = TILE_FROM_XY(x,y); |
116 Engine *e; |
116 Engine *e; |
117 |
117 |
118 if (!(IsEngineBuildable(p1, VEH_Road))) return CMD_ERROR; |
118 if (!IsEngineBuildable(p1, VEH_Road)) return CMD_ERROR; |
119 |
119 |
120 SET_EXPENSES_TYPE(EXPENSES_NEW_VEHICLES); |
120 SET_EXPENSES_TYPE(EXPENSES_NEW_VEHICLES); |
121 |
121 |
122 cost = EstimateRoadVehCost(p1); |
122 cost = EstimateRoadVehCost(p1); |
123 if (flags & DC_QUERY_COST) |
123 if (flags & DC_QUERY_COST) |