resources: fix infinity overshielding when max is zero
resources: fix infinity overshielding when max is zero

quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot