File diff r4548:6a33e364fba5 → r4549:76b9213799ac
roadveh_cmd.c
Show inline comments
 
@@ -386,8 +386,8 @@ int32 CmdSendRoadVehToDepot(TileIndex ti
 
	if (v->current_order.type == OT_GOTO_DEPOT) {
 
		if (!!(p2 & DEPOT_SERVICE) == HASBIT(v->current_order.flags, OFB_HALT_IN_DEPOT)) {
 
			/* We called with a different DEPOT_SERVICE setting.
 
			* Now we change the setting to apply the new one and let the vehicle head for the same depot.
 
			* Note: the if is (true for requesting service == true for ordered to stop in depot)          */
 
			 * Now we change the setting to apply the new one and let the vehicle head for the same depot.
 
			 * Note: the if is (true for requesting service == true for ordered to stop in depot) */
 
			if (flags & DC_EXEC) {
 
				TOGGLEBIT(v->current_order.flags, OFB_HALT_IN_DEPOT);
 
				InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);