For this one descend_to is already set, and we also need to do the max_depth check properly, so I think it should be:
The others were all spot on, thanks - I especially liked the failed trap door message
Code:
/* Warn a force_descend player if they're going to a quest level */ if (OPT(birth_force_descend)) { if (is_quest(descend_to) && !get_check("Are you sure you want to descend?")) return; /* Don't overshoot */ descend_to = MIN(descend_to, z_info->max_depth - 1); }
Comment