From d4752ba0da4c6387020167b3acee938ed14d9a66 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 18 Oct 2005 07:01:00 +0000 Subject: (svn r3058) The default AI may not build dual headed trains under certain circumstances. Simplify this check by testing the rail vehicle info flags instead of passing a global variable around. Note: This is not exactly the original behaviour, because the Lev4 was always allowed to be built, but i guess that was a glitch. --- vehicle.h | 1 - 1 file changed, 1 deletion(-) (limited to 'vehicle.h') diff --git a/vehicle.h b/vehicle.h index c61a672f0..443e0773b 100644 --- a/vehicle.h +++ b/vehicle.h @@ -447,7 +447,6 @@ VARDEF VehicleID _new_ship_id; VARDEF VehicleID _new_roadveh_id; VARDEF uint16 _aircraft_refit_capacity; VARDEF byte _cmd_build_rail_veh_score; -VARDEF byte _cmd_build_rail_veh_var1; // for each player, for each vehicle type, keep a list of the vehicles. //VARDEF Vehicle *_vehicle_arr[8][4]; -- cgit v1.2.3-54-g00ecf