mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 06:20:16 -04:00
move secret message higher, don't disable crosshair (#1607)
This commit is contained in:
parent
e14506c312
commit
57c2b98999
@ -140,24 +140,26 @@ static hu_multiline_t w_rate;
|
||||
#define MAX_WIDGETS_D 5
|
||||
#define MAX_WIDGETS_B 12
|
||||
|
||||
#define W_SECRET_Y ((SCREENHEIGHT - ST_HEIGHT) / 4)
|
||||
|
||||
static hu_widget_t doom_widgets[MAX_HUDS][MAX_WIDGETS_D] = {
|
||||
{
|
||||
{&w_title, align_direct, align_bottom, 0},
|
||||
{&w_message, align_direct, align_top, 0},
|
||||
{&w_chat, align_direct, align_top, 0},
|
||||
{&w_secret, align_center, align_direct, 0, 84},
|
||||
{&w_secret, align_center, align_direct, 0, W_SECRET_Y},
|
||||
{NULL}
|
||||
}, {
|
||||
{&w_title, align_direct, align_bottom, 0},
|
||||
{&w_message, align_direct, align_top, 0},
|
||||
{&w_chat, align_direct, align_top, 0},
|
||||
{&w_secret, align_center, align_direct, 0, 84},
|
||||
{&w_secret, align_center, align_direct, 0, W_SECRET_Y},
|
||||
{NULL}
|
||||
}, {
|
||||
{&w_title, align_direct, align_bottom, 0},
|
||||
{&w_message, align_direct, align_top, 0},
|
||||
{&w_chat, align_direct, align_top, 0},
|
||||
{&w_secret, align_center, align_direct, 0, 84},
|
||||
{&w_secret, align_center, align_direct, 0, W_SECRET_Y},
|
||||
{NULL}
|
||||
}
|
||||
};
|
||||
@ -1438,8 +1440,7 @@ void HU_DrawCrosshair(void)
|
||||
if (plr->playerstate != PST_LIVE ||
|
||||
automapactive ||
|
||||
menuactive ||
|
||||
paused ||
|
||||
secret_on)
|
||||
paused)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user