From: Holger Schemel Date: Mon, 30 Oct 2017 09:50:25 +0000 (+0100) Subject: added missing option for menu draw offset for (empty) title info screen X-Git-Tag: 4.1.0.0~82 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cf6db6f4ddaf8a02ee1336e9b04200e436d9f60f;p=rocksndiamonds.git added missing option for menu draw offset for (empty) title info screen --- diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 66b90650..152769ff 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -7705,6 +7705,8 @@ struct ConfigInfo image_config[] = { "menu.draw_yoffset.EDITOR", "0" }, { "menu.draw_xoffset.INFO", "0" }, { "menu.draw_yoffset.INFO", "0" }, + { "menu.draw_xoffset.INFO[TITLE]", "0" }, + { "menu.draw_yoffset.INFO[TITLE]", "0" }, { "menu.draw_xoffset.INFO[ELEMENTS]", "0" }, { "menu.draw_yoffset.INFO[ELEMENTS]", "0" }, { "menu.draw_xoffset.INFO[MUSIC]", "0" }, diff --git a/src/screens.c b/src/screens.c index c35cd84d..2114c845 100644 --- a/src/screens.c +++ b/src/screens.c @@ -421,7 +421,7 @@ static struct GAME_MODE_MAIN : GAME_MODE_DEFAULT) /* (there are no draw offset definitions needed for INFO_MODE_TITLE) */ -#define DRAW_MODE_INFO(i) ((i) >= INFO_MODE_ELEMENTS && \ +#define DRAW_MODE_INFO(i) ((i) >= INFO_MODE_TITLE && \ (i) <= INFO_MODE_LEVELSET ? (i) : \ INFO_MODE_MAIN)