File diff r2462:9b0bcbe58b0f → r2463:c809e36ea3e8
train_cmd.c
Show inline comments
 
@@ -1516,7 +1516,7 @@ int32 CmdRefitRailVehicle(int x, int y, 
 
		if (!CanRefitTo(v, new_cid)) continue;
 

	
 
		if (v->cargo_cap != 0) {
 
			RailVehicleInfo *rvi = RailVehInfo(v->engine_type);
 
			const RailVehicleInfo *rvi = RailVehInfo(v->engine_type);
 
			uint16 amount = CALLBACK_FAILED;
 

	
 
			if (HASBIT(rvi->callbackmask, CBM_REFIT_CAP)) {