You have to set the IGNORE_PASSABLE flag as a parameter in the c_move function.