diff --git a/src/lua_hud.h b/src/lua_hud.h index 1e9dca00b921abe7e3c0baa2413fc015668e5fa8..4be20c8153da3ca7a78695277a9ee9c7252dcbb6 100644 --- a/src/lua_hud.h +++ b/src/lua_hud.h @@ -38,6 +38,7 @@ enum hud { // Intermission hud_intermissiontally, hud_intermissionmessages, + hud_intermissionemeralds, hud_MAX }; diff --git a/src/lua_hudlib.c b/src/lua_hudlib.c index 8d451e99c5100bc2370974ea977ea055fed04595..51c7f91ae14eb20aaad96d20ab6974ac26ad370f 100644 --- a/src/lua_hudlib.c +++ b/src/lua_hudlib.c @@ -64,6 +64,7 @@ static const char *const hud_disable_options[] = { "intermissiontally", "intermissionmessages", + "intermissionemeralds", NULL}; enum hudinfo { diff --git a/src/y_inter.c b/src/y_inter.c index dca8cd3777b16d4fa0cdf555bdea3c3cd577b45c..d6baf06c60fdb5a2de14aa7e49936e3ee40feca5 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -638,6 +638,7 @@ void Y_IntermissionDrawer(void) // draw the emeralds //if (intertic & 1) + if (LUA_HudEnabled(hud_intermissionemeralds)) { boolean drawthistic = !(ALL7EMERALDS(emeralds) && (intertic & 1)); INT32 emeraldx = 152 - 3*28;