File diff r6607:1410c388c54c → r6608:f2d13a751f0b
src/train_cmd.cpp
Show inline comments
 
@@ -220,6 +220,8 @@ void TrainConsistChanged(Vehicle* v)
 
			}
 
		}
 

	
 
		u->cargo_cap = GetVehicleProperty(u, 0x14, rvi_u->capacity);
 

	
 
		/* check the vehicle length (callback) */
 
		uint16 veh_len = CALLBACK_FAILED;
 
		if (HASBIT(EngInfo(u->engine_type)->callbackmask, CBM_VEHICLE_LENGTH)) {