Very minimalistic simplification of some code in ball/util.c.