You're right (but this doesn't change much, the square roots still cancel, and it's still a fast calculation vs. far more expensive cache misses).
Based on information I do know about the game, combined with extrapolating from observed behaviour, combined with a little experience; it's not...