Issue #2313803 by Cottser | anavarre: Fixed MENU_MAX_DEPTH has been obsoleted.