Set jump animation only if any other animation os not used.

It avoids to break eg. win/lose animation.
Remove unused variable.