Add an extra parameter to function check_costmove to distinguish situations like jump.
This is a temporary fix, will clean up the logic later.
Authored by: utunnels 2012-03-12
Parent: [r3671]
Child: [r3673]