Curses: fix pile hilite background color

The curses colorpair rework I did changed the pile hilite background
color from blue to red. Change it back to blue, and use a function
to get the color pair instead of hardcoding the value.
This commit is contained in:
Pasi Kallinen
2024-04-05 20:13:02 +03:00
parent 969c87c0a1
commit 7ecc778173
3 changed files with 4 additions and 2 deletions

View File

@@ -149,6 +149,7 @@ extern void curses_puts(winid wid, int attr, const char *text);
extern void curses_clear_nhwin(winid wid);
extern void curses_alert_win_border(winid wid, boolean onoff);
extern void curses_alert_main_borders(boolean onoff);
extern int get_framecolor(int nhcolor, int framecolor);
extern void curses_draw_map(int sx, int sy, int ex, int ey);
extern boolean curses_map_borders(int *sx, int *sy, int *ex, int *ey,
int ux, int uy);