made use of the hidden flag

This commit is contained in:
Andrew "Akari" Alexeyew 2012-07-14 11:48:13 +03:00
parent ef7c536786
commit b36c774a14

View file

@ -22,7 +22,7 @@ void create_stage_menu(MenuData *m) {
create_menu(m);
m->type = MT_Persistent;
for(i = 0; stages[i].loop; ++i) {
for(i = 0; stages[i].loop; ++i) if(!stages[i].hidden) {
snprintf(title, STGMENU_MAX_TITLE_LENGTH, "%d. %s", i + 1, stages[i].title);
add_menu_entry(m, title, start_story, &(stages[i]));
}