From 7816644fc333da3dd21d722252526666ae1cb552 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 19 Mar 2002 16:59:25 +0000 Subject: [PATCH] missed a place for enter_hook --- libs/console/menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/console/menu.c b/libs/console/menu.c index b2eacae56..a4973f8d0 100644 --- a/libs/console/menu.c +++ b/libs/console/menu.c @@ -272,6 +272,9 @@ bi_Menu_SelectMenu (progs_t *pr) if (menu) { key_dest = key_menu; game_target = IMT_CONSOLE; + if (menu->enter_hook) { + PR_ExecuteProgram (&menu_pr_state, menu->enter_hook); + } } else { if (name && *name) Con_Printf ("no menu \"%s\"\n", name);