diff options
author | tron <tron@openttd.org> | 2005-10-18 07:01:00 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-18 07:01:00 +0000 |
commit | d4752ba0da4c6387020167b3acee938ed14d9a66 (patch) | |
tree | a9e1c8d1f0c24a73580b5124a2e50ab1823ab161 /vehicle.h | |
parent | d4463b4b950163ebe6cb8db989967ce65ad75da5 (diff) | |
download | openttd-d4752ba0da4c6387020167b3acee938ed14d9a66.tar.xz |
(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.
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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]; |