Changeset - r3030:21a03530ba2e
[Not reviewed]
master
0 1 0
tron - 19 years ago 2006-02-17 16:42:08
tron@openttd.org
(svn r3610) And one more (see r3608/r3609)
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
vehicle_gui.c
Show inline comments
 
@@ -571,8 +571,9 @@ static void SetupScrollStuffForReplaceWi
 
			}
 

	
 
			if (selected_id[0] != INVALID_ENGINE) {
 
				byte cargo = ShipVehInfo(selected_id[0])->cargo_type;
 
				byte refittable = ShipVehInfo(selected_id[0])->refittable;
 
				const ShipVehicleInfo* svi = ShipVehInfo(selected_id[0]);
 
				CargoID cargo = svi->cargo_type;
 
				byte refittable = svi->refittable;
 

	
 
				for (i = SHIP_ENGINES_INDEX; i < SHIP_ENGINES_INDEX + NUM_SHIP_ENGINES; i++) {
 
					if (HASBIT(GetEngine(i)->player_avail, _local_player) && (
0 comments (0 inline, 0 general)