Does baby eat less when they have cold?

En

If so do you increase their milk intake? Formula or BF? Because he does not want water and solids right now. Just afraid that it will make a habit of drinking more formula, we started weaning then he caught a cold.