Fix use of global instead of argument in cave_monster_at().